Skip to content

Commit

Permalink
fix: fix eth bump fee runtime err
Browse files Browse the repository at this point in the history
  • Loading branch information
mroz22 authored and tomasklim committed Oct 15, 2021
1 parent a345e00 commit c38a4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/suite/src/hooks/wallet/useRbfForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const useRbfState = ({ tx, finalize, chainedTxs }: Props, currentState: boolean)
const { account, network } = state.selectedAccount;
const feeInfo = getFeeInfo(account.networkType, state.fees[account.symbol], tx.rbfParams);
// exclude utxo generated by this transaction. reduce output instead
const otherUtxo = account.utxo!.filter(input => input.txid !== tx.rbfParams!.txid);
const otherUtxo = (account.utxo || []).filter(input => input.txid !== tx.rbfParams!.txid);

// override Account data
const rbfAccount = {
Expand Down

0 comments on commit c38a4d3

Please sign in to comment.