Skip to content

Commit 8092106

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/types/transaction.go

+1-1
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)