From c3f73860a4de654e4679c017bcfde22cd1d91278 Mon Sep 17 00:00:00 2001 From: coffeepots Date: Fri, 24 Aug 2018 16:52:48 +0100 Subject: [PATCH] Remove defunct comment --- nimbus/transaction.nim | 7 ------- 1 file changed, 7 deletions(-) diff --git a/nimbus/transaction.nim b/nimbus/transaction.nim index f2e4b308c..b74e1d1e2 100644 --- a/nimbus/transaction.nim +++ b/nimbus/transaction.nim @@ -44,13 +44,6 @@ proc toSignature*(transaction: Transaction): Signature = var bytes: array[65, byte] bytes[0..31] = transaction.R.toByteArrayBE() bytes[32..63] = transaction.S.toByteArrayBE() - #[ - TODO: In the yellow paper: - It is assumed that v is the ‘recovery id’, a 1 byte value - specifying the sign and finiteness of the curve point; this - value is in the range of [27,30]. - Does this need to be checked that it is [0, 1] and inc by 27? - ]# # TODO: V will become a byte or range soon. bytes[64] = (cast[uint64](transaction.V.data.lo) and 0xff'u64).uint8 initSignature(bytes)