(nonce uint64, gaslimit uint64, key *ecdsa.PrivateKey)
| 71 | } |
| 72 | |
| 73 | func transaction(nonce uint64, gaslimit uint64, key *ecdsa.PrivateKey) *types.Transaction { |
| 74 | return pricedTransaction(nonce, gaslimit, big.NewInt(1), key) |
| 75 | } |
| 76 | |
| 77 | func pricedTransaction(nonce uint64, gaslimit uint64, gasprice *big.Int, key *ecdsa.PrivateKey) *types.Transaction { |
| 78 | tx, _ := types.SignTx(types.NewTransaction(nonce, common.Address{}, big.NewInt(100), gaslimit, gasprice, nil), types.HomesteadSigner{}, key) |
no test coverage detected