File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
xrpl4j-core/src/test/java/org/xrpl/xrpl4j/codec/binary/types Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,12 @@ void fixtureTests(ValueTest fixture) throws IOException {
6060 AmountType amountType = (AmountType ) serialized ;
6161 // Special-case for zero-value IOU amounts.
6262 if (
63- !amountType .toJson ().has ("mpt_issuance_id" ) &&// <-- Not MPT
63+ !amountType .toJson ().has ("mpt_issuance_id" ) && // <-- Not MPT
6464 amountType .toJson ().has ("value" ) && // <-- Is IOU
65- (amountType .toJson ().get ("value" ).asText ().equals ("0" ) ||
66- amountType .toJson ().get ("value" ).asText ().equals ("0.0" ))
65+ (
66+ amountType .toJson ().get ("value" ).asText ().equals ("0" ) ||
67+ amountType .toJson ().get ("value" ).asText ().equals ("0.0" )
68+ )
6769 ) {
6870 // An apparent bug in AmountType always sets the negative/positive boolean to `negative` when the amount
6971 // values are `0` or `0.0`, so this special case must exist in order for tests to pass. Once
You can’t perform that action at this time.
0 commit comments