Update block object to include hashes in uncles, not full block header

This commit is contained in:
coffeepots 2018-08-20 20:51:25 +01:00
parent c53b2502d7
commit cb23bc0fdd
1 changed files with 1 additions and 1 deletions

View File

@ -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