forked from Qortal/qortal
Fix broken Long vs Long comparison in Block.areAtsValid()
This commit is contained in:
parent
5c8bda37d1
commit
9a94873d0e
@ -1135,7 +1135,7 @@ public class Block {
|
||||
if (!Arrays.equals(ourAtState.getStateHash(), theirAtState.getStateHash()))
|
||||
return ValidationResult.AT_STATES_MISMATCH;
|
||||
|
||||
if (ourAtState.getFees() != theirAtState.getFees())
|
||||
if (!ourAtState.getFees().equals(theirAtState.getFees()))
|
||||
return ValidationResult.AT_STATES_MISMATCH;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user