Skip to content

Commit

Permalink
export dcr wallet options
Browse files Browse the repository at this point in the history
Signed-off-by: Philemon Ukane <[email protected]>
  • Loading branch information
ukane-philemon committed Nov 19, 2024
1 parent 7480565 commit 5225705
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/asset/btc/btc.go
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ func OpenCustomWallet(cfg *BTCCloneCFG, walletConstructor CustomWalletConstructo
return nil, err
}

// Custom wallets without without a FeeEstimator will default to any enabled
// Custom wallets without a FeeEstimator will default to any enabled
// external fee estimator.
if cfg.FeeEstimator == nil {
cfg.FeeEstimator = noLocalFeeRate
Expand Down
6 changes: 3 additions & 3 deletions client/asset/dcr/dcr.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ var (
// be tried over and over with wallet in SPV mode.
maxRedeemMempoolAge = time.Hour * 2

walletOpts = []*asset.ConfigOption{
WalletOpts = []*asset.ConfigOption{
{
Key: "fallbackfee",
DisplayName: "Fallback fee rate",
Expand Down Expand Up @@ -276,7 +276,7 @@ var (
Type: walletTypeSPV,
Tab: "Native",
Description: "Use the built-in SPV wallet",
ConfigOpts: walletOpts,
ConfigOpts: WalletOpts,
Seeded: true,
MultiFundingOpts: multiFundingOpts,
},
Expand All @@ -285,7 +285,7 @@ var (
Tab: "External",
Description: "Connect to dcrwallet",
DefaultConfigPath: defaultConfigPath,
ConfigOpts: append(rpcOpts, walletOpts...),
ConfigOpts: append(rpcOpts, WalletOpts...),
MultiFundingOpts: multiFundingOpts,
},
},
Expand Down

0 comments on commit 5225705

Please sign in to comment.