core/types: fix typo in comment (#15619)

This commit is contained in:
Airead 2017-12-07 17:06:44 +08:00 committed by Felix Lange
parent eab2201f80
commit 8092106abc

View File

@ -137,7 +137,7 @@ func isProtectedV(V *big.Int) bool {
return true return true
} }
// DecodeRLP implements rlp.Encoder // EncodeRLP implements rlp.Encoder
func (tx *Transaction) EncodeRLP(w io.Writer) error { func (tx *Transaction) EncodeRLP(w io.Writer) error {
return rlp.Encode(w, &tx.data) return rlp.Encode(w, &tx.data)
} }