core/types: fix typo in comment

This commit is contained in:
Airead Fan 2017-12-07 10:52:02 +08:00
parent eab2201f80
commit 00015c88bc

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)
} }