Use int64 for blockNum (like it's sroted in DB)

This commit is contained in:
Eduard S
2020-09-07 18:09:27 +02:00
parent 57fd9bdaed
commit 56604ecc69
5 changed files with 17 additions and 16 deletions

View File

@@ -11,5 +11,5 @@ type Bid struct {
SlotNum SlotNum `meddler:"slot_num"`
ForgerAddr ethCommon.Address `meddler:"forger_addr"` // Coordinator reference
BidValue *big.Int `meddler:"bid_value,bigint"`
EthBlockNum uint64 `meddler:"eth_block_num"`
EthBlockNum int64 `meddler:"eth_block_num"`
}