Skip to content

Commit c372f29

Browse files
authored
fix: rlp decode function typo
1 parent 683e7a6 commit c372f29

File tree

1 file changed

+1
-1
lines changed
  • src/content/developers/docs/data-structures-and-encoding/rlp

1 file changed

+1
-1
lines changed

src/content/developers/docs/data-structures-and-encoding/rlp/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def rlp_decode(input):
113113
output = instantiate_str(substr(input, offset, dataLen))
114114
elif type is list:
115115
output = instantiate_list(substr(input, offset, dataLen))
116-
output + rlp_decode(substr(input, offset + dataLen))
116+
output += rlp_decode(substr(input, offset + dataLen))
117117
return output
118118

119119
def decode_length(input):

0 commit comments

Comments
 (0)