|
|
|
@ -105,7 +105,7 @@ func RPCMarshalBlock(b *types.Block, inclTx bool, fullTx bool) (map[string]inter |
|
|
|
|
"size": hexutil.Uint64(b.Size()), |
|
|
|
|
"gasLimit": hexutil.Uint64(head.GasLimit), |
|
|
|
|
"gasUsed": hexutil.Uint64(head.GasUsed), |
|
|
|
|
"timestamp": head.Time, // TODO(ricl): should be hexutil.Uint64
|
|
|
|
|
"timestamp": hexutil.Uint64(head.Time.Uint64()), |
|
|
|
|
"transactionsRoot": head.TxHash, |
|
|
|
|
"receiptsRoot": head.ReceiptHash, |
|
|
|
|
} |
|
|
|
|