Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 5c0e3af

Browse files
committed
Update builder.go for Super Economy
1 parent fb24434 commit 5c0e3af

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

wallet/builder.go

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ func createSPVWallet(coin wallet.CoinType, coinConfigOverrides *schema.CoinConfi
215215
Mnemonic: cfg.Mnemonic,
216216
Params: cfg.Params,
217217
MaxFee: coinConfigOverrides.MaxFee,
218+
SuperLowFee: coinConfigOverrides.SuperLowFeeDefault,
218219
LowFee: coinConfigOverrides.LowFeeDefault,
219220
MediumFee: coinConfigOverrides.MediumFeeDefault,
220221
HighFee: coinConfigOverrides.HighFeeDefault,
@@ -310,15 +311,16 @@ func prepareAPICoinConfig(coin wallet.CoinType, override *schema.CoinConfig, wal
310311
}
311312

312313
var preparedConfig = &mwConfig.CoinConfig{
313-
ClientAPIs: overrideWalletEndpoints,
314-
CoinType: coin,
315-
DB: CreateWalletDB(walletConfig.DB, coin),
316-
FeeAPI: override.FeeAPI,
317-
HighFee: override.HighFeeDefault,
318-
LowFee: override.LowFeeDefault,
319-
MaxFee: override.MaxFee,
320-
MediumFee: override.MediumFeeDefault,
321-
Options: override.WalletOptions,
314+
ClientAPIs: overrideWalletEndpoints,
315+
CoinType: coin,
316+
DB: CreateWalletDB(walletConfig.DB, coin),
317+
FeeAPI: override.FeeAPI,
318+
HighFee: override.HighFeeDefault,
319+
SuperLowFee: override.SuperLowFeeDefault,
320+
LowFee: override.LowFeeDefault,
321+
MaxFee: override.MaxFee,
322+
MediumFee: override.MediumFeeDefault,
323+
Options: override.WalletOptions,
322324
}
323325

324326
if preparedConfig.HighFee == 0 {

0 commit comments

Comments
 (0)