aboutsummaryrefslogtreecommitdiffstats
path: root/eth/helper_test.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2017-01-05 19:59:17 +0800
committerFelix Lange <fjl@twurst.com>2017-01-05 19:59:17 +0800
commite171bf74f8b6d15c2ae51e259d703ee5b729a298 (patch)
treeb7924c1c57d69d433cb8c6645d0b2e57743daeee /eth/helper_test.go
parentbbc4ea4ae8e8a962deae3d5693d9d4a9376eab88 (diff)
downloaddexon-e171bf74f8b6d15c2ae51e259d703ee5b729a298.tar.gz
dexon-e171bf74f8b6d15c2ae51e259d703ee5b729a298.tar.zst
dexon-e171bf74f8b6d15c2ae51e259d703ee5b729a298.zip
core/types: remove redundant SignECDSA wrappers, rename to SignTx
Diffstat (limited to 'eth/helper_test.go')
-rw-r--r--eth/helper_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/helper_test.go b/eth/helper_test.go
index bd6b2d0da..a718a6d21 100644
--- a/eth/helper_test.go
+++ b/eth/helper_test.go
@@ -124,7 +124,7 @@ func (p *testTxPool) Pending() (map[common.Address]types.Transactions, error) {
// newTestTransaction create a new dummy transaction.
func newTestTransaction(from *ecdsa.PrivateKey, nonce uint64, datasize int) *types.Transaction {
tx := types.NewTransaction(nonce, common.Address{}, big.NewInt(0), big.NewInt(100000), big.NewInt(0), make([]byte, datasize))
- tx, _ = tx.SignECDSA(types.HomesteadSigner{}, from)
+ tx, _ = types.SignTx(tx, types.HomesteadSigner{}, from)
return tx
}