From cb23bc0fddfe33f2f64cd72b37f3301def9218f6 Mon Sep 17 00:00:00 2001 From: coffeepots Date: Mon, 20 Aug 2018 20:51:25 +0100 Subject: [PATCH] Update block object to include hashes in uncles, not full block header --- nimbus/rpc/rpc_types.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nimbus/rpc/rpc_types.nim b/nimbus/rpc/rpc_types.nim index aa7904935..050f04e46 100644 --- a/nimbus/rpc/rpc_types.nim +++ b/nimbus/rpc/rpc_types.nim @@ -59,7 +59,7 @@ type gasUsed*: GasInt # the total used gas by all transactions in this block. timestamp*: EthTime # the unix timestamp for when the block was collated. transactions*: seq[Transaction] # list of transaction objects, or 32 Bytes transaction hashes depending on the last given parameter. - uncles*: seq[BlockHeader] # list of uncle hashes. + uncles*: seq[Hash256] # list of uncle hashes. TransactionObject* = object # A transaction object, or null when no transaction was found: # Returned to user