mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
minor code cleanup in MoveEvent::compile
This commit is contained in:
parent
191bfb6141
commit
6f5613ebd9
@ -2485,9 +2485,7 @@ class MoveEvent: public Event {
|
||||
|
||||
if (cost == 0) {
|
||||
target = src->source;
|
||||
}
|
||||
|
||||
if (target == src->source) {
|
||||
addBuddy(src, dst);
|
||||
|
||||
if (DebugMoves) {
|
||||
|
Loading…
Reference in New Issue
Block a user