mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 19:36:44 +01:00
Import & adapt iden/go-iden3-core/eth/client
This commit is contained in:
@@ -3,12 +3,12 @@ package common
|
||||
import (
|
||||
"time"
|
||||
|
||||
eth "github.com/ethereum/go-ethereum/common"
|
||||
ethCommon "github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
// Block represents of an Ethereum block
|
||||
type Block struct {
|
||||
EthBlockNum uint64 `meddler:"eth_block_num"`
|
||||
Timestamp time.Time `meddler:"timestamp"`
|
||||
Hash eth.Hash `meddler:"hash"`
|
||||
EthBlockNum uint64 `meddler:"eth_block_num"`
|
||||
Timestamp time.Time `meddler:"timestamp"`
|
||||
Hash ethCommon.Hash `meddler:"hash"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user