Fix incorrect log call format
This commit is contained in:
parent
878373ab30
commit
bbd7706b11
|
@ -2,6 +2,7 @@ package transactions
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"fmt"
|
||||||
"math/big"
|
"math/big"
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
@ -164,7 +165,7 @@ func (t *Transactor) validateAndPropagate(selectedAccount *account.SelectedExtKe
|
||||||
return hash, err
|
return hash, err
|
||||||
}
|
}
|
||||||
if gas < defaultGas {
|
if gas < defaultGas {
|
||||||
t.log.Info("default gas will be used. estimated gas", gas, "is lower than", defaultGas)
|
t.log.Info(fmt.Sprintf("default gas will be used. estimated gas %v is lower than %v", gas, defaultGas))
|
||||||
gas = defaultGas
|
gas = defaultGas
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue