From 592acb20c227aa46fb990198d959128811a5cd7b Mon Sep 17 00:00:00 2001 From: coffeepots Date: Tue, 22 May 2018 20:49:23 +0100 Subject: [PATCH] Temporarily hide variant object part in lue of improving marshal macro --- eth-rpc/ethtypes.nim | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/eth-rpc/ethtypes.nim b/eth-rpc/ethtypes.nim index 5fa6099..beabdce 100644 --- a/eth-rpc/ethtypes.nim +++ b/eth-rpc/ethtypes.nim @@ -70,9 +70,10 @@ type contractAddress*: array[20, byte] # the contract address created, if the transaction was a contract creation, otherwise null. logs*: seq[string] # TODO: See Wiki for details. list of log objects, which this transaction generated. logsBloom*: array[256, byte] # bloom filter for light clients to quickly retrieve related logs. - case kind*: ReceiptKind - of rkRoot: root*: UInt256 # post-transaction stateroot (pre Byzantium). - of rkStatus: status*: int # 1 = success, 0 = failure. + # TODO: + #case kind*: ReceiptKind + #of rkRoot: root*: UInt256 # post-transaction stateroot (pre Byzantium). + #of rkStatus: status*: int # 1 = success, 0 = failure. FilterDataKind* = enum fkItem, fkList FilterData* = object