Skip to content

Commit e5cc2e3

Browse files
committed
fix post check
1 parent a7ca805 commit e5cc2e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solana/system_call.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ func (node *Node) comparePostCallWithSolanaTx(ctx context.Context, as []*Referen
396396
assets[address].Amount = assets[address].Amount.Add(change.Amount)
397397
continue
398398
}
399-
if !change.Amount.IsNegative() {
399+
if !change.Amount.IsPositive() {
400400
continue
401401
}
402402
assets[address] = &ReferencedTxAsset{

0 commit comments

Comments
 (0)