GC-safety for Nimbus

This commit is contained in:
Ștefan Talpalaru 2019-01-15 15:14:08 +01:00
parent c88d7df269
commit 35097de0d9
No known key found for this signature in database
GPG Key ID: CBF7934204F1B6F9
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ proc rlpFromHex*(input: string): Rlp =
proc hasData*(self: Rlp): bool =
position < bytes.len
proc currentElemEnd(self: Rlp): int
proc currentElemEnd(self: Rlp): int {.gcsafe.}
proc rawData*(self: Rlp): BytesRange =
return self.bytes[position ..< self.currentElemEnd]