Skip to content

Commit

Permalink
popm/wasm: make automaticFees default to enabled (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuasing authored Sep 10, 2024
1 parent ea88bbe commit b662195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/popminer/dispatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ func newMiner(config js.Value) (*Miner, *automaticFeeOptions, error) {
// Automatic fee options
autoFeeConfig := config.Get("automaticFees")
autoFees := &automaticFeeOptions{
enabled: autoFeeConfig.Truthy(),
enabled: autoFeeConfig.IsUndefined() || autoFeeConfig.Truthy(),
feeType: RecommendedFeeTypeEconomy,
refreshInterval: 5 * time.Minute,
}
Expand Down

0 comments on commit b662195

Please sign in to comment.