Fix incorrect log call format

This commit is contained in:
Pedro Pombeiro 2018-06-20 14:36:43 +02:00 committed by Pedro Pombeiro
parent 878373ab30
commit bbd7706b11
1 changed files with 2 additions and 1 deletions

View File

@ -2,6 +2,7 @@ package transactions
import (
"context"
"fmt"
"math/big"
"sync"
"time"
@ -164,7 +165,7 @@ func (t *Transactor) validateAndPropagate(selectedAccount *account.SelectedExtKe
return hash, err
}
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
}
} else {