mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 19:36:44 +01:00
Use int64 for blockNum (like it's sroted in DB)
This commit is contained in:
@@ -8,7 +8,8 @@ import (
|
||||
|
||||
// Block represents of an Ethereum block
|
||||
type Block struct {
|
||||
EthBlockNum uint64 `meddler:"eth_block_num"`
|
||||
EthBlockNum int64 `meddler:"eth_block_num"`
|
||||
Timestamp time.Time `meddler:"timestamp"`
|
||||
Hash ethCommon.Hash `meddler:"hash"`
|
||||
ParentHash ethCommon.Hash `meddler:"-"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user