Skip to content

Commit

Permalink
fixup! Add enableRbf boolean field on EdgeSpendInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
samholmes committed Jun 10, 2024
1 parent ca08c4c commit 5374807
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/core/currency/wallet/currency-wallet-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ export function makeCurrencyWalletApi(
const {
assetAction,
customNetworkFee,
enableRbf,
memos,
metadata,
networkFeeOption = 'standard',
Expand Down Expand Up @@ -518,6 +519,7 @@ export function makeCurrencyWalletApi(
{
...upgradedCurrency,
customNetworkFee,
enableRbf,
memos,
metadata,
networkFeeOption,
Expand Down
2 changes: 1 addition & 1 deletion src/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ export interface EdgeSpendInfo {
noUnconfirmed?: boolean
networkFeeOption?: 'high' | 'standard' | 'low' | 'custom'
customNetworkFee?: JsonObject // Some kind of currency-specific JSON
/** Enables/disables RBF for currencies where RBF is opt-in or optional. */
/** Enables RBF on chains where RBF is optional */
enableRbf?: boolean
pendingTxs?: EdgeTransaction[]
/** @deprecated Use enableRbf instead */
Expand Down

0 comments on commit 5374807

Please sign in to comment.