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 Jul 2, 2024
1 parent 6ba3240 commit 384278c
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 @@ -1364,7 +1364,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 @@ -124,7 +124,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 @@ -269,7 +269,7 @@ var (
Type: walletTypeSPV,
Tab: "Native",
Description: "Use the built-in SPV wallet",
ConfigOpts: walletOpts,
ConfigOpts: WalletOpts,
Seeded: true,
MultiFundingOpts: multiFundingOpts,
},
Expand All @@ -278,7 +278,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 384278c

Please sign in to comment.