From c4b56ca553b9cf07d782c7cb6fcb7113550deadc Mon Sep 17 00:00:00 2001 From: Zahary Karadjov Date: Tue, 25 Sep 2018 15:32:30 +0300 Subject: [PATCH] add a comment for a possible future optimization --- rlp/writer.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/rlp/writer.nim b/rlp/writer.nim index b201e37..6e5c0d8 100644 --- a/rlp/writer.nim +++ b/rlp/writer.nim @@ -244,6 +244,7 @@ proc initRlpList*(listSize: int): RlpWriter = result = initRlpWriter() startList(result, listSize) +# TODO: This should return a lent value proc finish*(self): seq[byte] = if pendingLists.len > 0: raise newException(PrematureFinalizationError,