core/types: remove redundant SignECDSA wrappers, rename to SignTx

This commit is contained in:
Felix Lange
2017-01-05 12:59:17 +01:00
parent bbc4ea4ae8
commit e171bf74f8
16 changed files with 58 additions and 99 deletions

View File

@ -74,7 +74,7 @@ func txPoolTestChainGen(i int, block *core.BlockGen) {
func TestTxPool(t *testing.T) {
for i, _ := range testTx {
testTx[i], _ = types.NewTransaction(uint64(i), acc1Addr, big.NewInt(10000), params.TxGas, nil, nil).SignECDSA(types.HomesteadSigner{}, testBankKey)
testTx[i], _ = types.SignTx(types.NewTransaction(uint64(i), acc1Addr, big.NewInt(10000), params.TxGas, nil, nil), types.HomesteadSigner{}, testBankKey)
}
var (