Merge pull request #24 from status-im/threads

GC-safety for Nimbus
This commit is contained in:
Yuriy Glukhov 2019-01-15 16:35:59 +02:00 committed by GitHub
commit 6d08835d98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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]