diff --git a/internal/hmyapi/types.go b/internal/hmyapi/types.go index 4d85865ed..ca9a249ef 100644 --- a/internal/hmyapi/types.go +++ b/internal/hmyapi/types.go @@ -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, }