Merge pull request #3516 from fjl/types-drop-sign-ecdsa

core/types: remove redundant SignECDSA wrappers, rename to SignTx
This commit is contained in:
Péter Szilágyi
2017-01-06 15:55:55 +02:00
committed by GitHub
16 changed files with 58 additions and 99 deletions

View File

@ -60,7 +60,7 @@ func TestWaitDeployed(t *testing.T) {
// Create the transaction.
tx := types.NewContractCreation(0, big.NewInt(0), test.gas, big.NewInt(1), common.FromHex(test.code))
tx, _ = tx.SignECDSA(types.HomesteadSigner{}, testKey)
tx, _ = types.SignTx(tx, types.HomesteadSigner{}, testKey)
// Wait for it to get mined in the background.
var (