Skip to content

Commit

Permalink
fixup! Fix incorrect parentNetworkFee
Browse files Browse the repository at this point in the history
  • Loading branch information
samholmes committed Nov 21, 2024
1 parent 6199140 commit 29839d7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/core/currency/wallet/currency-wallet-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -699,9 +699,10 @@ export function combineTxWithFile(
networkFees: [],
otherParams: { ...tx.otherParams },
ourReceiveAddresses: tx.ourReceiveAddresses,
...(walletCurrency === currencyCode
? {}
: { parentNetworkFee: tx.networkFee.get(null) ?? '0' }),
parentNetworkFee:
walletCurrency === currencyCode
? undefined
: tx.networkFee.get(null) ?? '0',
signedTx: tx.signedTx,
tokenId,
txid: tx.txid,
Expand Down

0 comments on commit 29839d7

Please sign in to comment.