fix estimate gas price test

Former-commit-id: a4565e6a8937824be3b095534cc6fcbc037fa116 [formerly 2ab68064d3306a9112fad1dfaf57838e258d02fd]
Former-commit-id: b8c128dfb85b0e291237bb1fc1a21d7cee45bf45
This commit is contained in:
Preston Van Loon
2018-01-28 12:39:09 -05:00
parent 864405a823
commit a68be6076c

View File

@@ -10,7 +10,6 @@ import (
"sync"
"testing"
ethereum "github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/keystore"
"github.com/ethereum/go-ethereum/core/types"
@@ -50,7 +49,7 @@ func (s *FakeEthService) GasPrice(ctx context.Context) (hexutil.Big, error) {
return hexutil.Big(*b), nil
}
func (s *FakeEthService) EstimateGas(ctx context.Context, msg ethereum.CallMsg) (hexutil.Uint64, error) {
func (s *FakeEthService) EstimateGas(ctx context.Context, msg interface{}) (hexutil.Uint64, error) {
h := hexutil.Uint64(uint64(1000000))
return h, nil
}