(data []byte)
| 73 | } |
| 74 | |
| 75 | func decodeTx(data []byte) (*Transaction, error) { |
| 76 | var tx Transaction |
| 77 | t, err := &tx, rlp.Decode(bytes.NewReader(data), &tx) |
| 78 | |
| 79 | return t, err |
| 80 | } |
| 81 | |
| 82 | func defaultTestKey() (*ecdsa.PrivateKey, common.Address) { |
| 83 | key, _ := crypto.HexToECDSA("45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8") |
no outgoing calls
no test coverage detected