Skip to content

Commit 8092106

Browse files
Aireadfjl
authored andcommitted
core/types: fix typo in comment (#15619)
1 parent eab2201 commit 8092106

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎core/types/transaction.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func isProtectedV(V *big.Int) bool {
137137
return true
138138
}
139139

140-
// DecodeRLP implements rlp.Encoder
140+
// EncodeRLP implements rlp.Encoder
141141
func (tx *Transaction) EncodeRLP(w io.Writer) error {
142142
return rlp.Encode(w, &tx.data)
143143
}

0 commit comments

Comments
 (0)