Skip to content

Commit

Permalink
fix operation
Browse files Browse the repository at this point in the history
  • Loading branch information
bigdu154 committed Jan 3, 2021
1 parent 8d9a9d3 commit 651f7a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion icon/client_v1/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (c *ClientV3) MakeBlockWithReceipts(block *types.Block, trsArray []*Transac
if su.Cmp(zeroBigInt) != 0 {
f := su.Mul(&su.Int, &sp.Int)
fee := f.Text(10)
tx.Operations[2].Amount.Value = fee
tx.Operations[2].Amount.Value = "-" + fee
tx.Operations[3].Amount.Value = fee
}

Expand Down

0 comments on commit 651f7a8

Please sign in to comment.