Skip to content

Commit

Permalink
fix: TransferTransaction.AddTokenTransferWithDecimals()
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Akhterov <[email protected]>
  • Loading branch information
janaakhterov authored and andrix10 committed Feb 1, 2022
1 parent 8c14d9f commit 15f1b08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions transfer_transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ func NewTransferTransaction() *TransferTransaction {
hbarTransfers: make(map[AccountID]Hbar),
nftTransfers: make(map[TokenID][]TokenNftTransfer),
expectedDecimals: make(map[TokenID]uint32),
hbarApprovals: make(map[AccountID]bool),
tokenApprovals: make(map[TokenID]map[AccountID]bool),
}

transaction.SetMaxTransactionFee(NewHbar(1))
Expand Down

0 comments on commit 15f1b08

Please sign in to comment.