Skip to content

Commit

Permalink
Merge pull request #8 from OpenBazaar/brian.supereconomicbug
Browse files Browse the repository at this point in the history
Bug Fix: accomodate super economic fees
  • Loading branch information
cpacia authored Jun 4, 2020
2 parents a351822 + e58d4f2 commit 31db816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wallet/wallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ func (wallet *EthereumWallet) GetFeePerByte(feeLevel wi.FeeLevel) big.Int {
switch feeLevel {
case wi.NORMAL:
ret, _ = big.NewFloat(est.Average * 100000000).Int(nil)
case wi.ECONOMIC:
case wi.ECONOMIC, wi.SUPER_ECONOMIC:
ret, _ = big.NewFloat(est.SafeLow * 100000000).Int(nil)
case wi.PRIOIRTY, wi.FEE_BUMP:
ret, _ = big.NewFloat(est.Fast * 100000000).Int(nil)
Expand Down

0 comments on commit 31db816

Please sign in to comment.