Skip to content

Commit cf86e00

Browse files
committed
fix rlp_decode receive concat result
1 parent f9d1d84 commit cf86e00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RLP.md

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

122122
def decode_length(input):

0 commit comments

Comments
 (0)