aboutsummaryrefslogtreecommitdiffstats
path: root/core/genesis.go
diff options
context:
space:
mode:
authorMartin Holst Swende <martin@swende.se>2017-07-17 16:33:13 +0800
committerFelix Lange <fjl@users.noreply.github.com>2017-07-17 16:33:13 +0800
commit47359301a24b3682b5bf9bbfae0cf8ae21a9ee62 (patch)
treefbcd20d9c32ce14a8dfb5afb15b80fa8560da040 /core/genesis.go
parent0ff35e170d1b913082313089d13e3e6d5490839b (diff)
downloaddexon-47359301a24b3682b5bf9bbfae0cf8ae21a9ee62.tar.gz
dexon-47359301a24b3682b5bf9bbfae0cf8ae21a9ee62.tar.zst
dexon-47359301a24b3682b5bf9bbfae0cf8ae21a9ee62.zip
core: blocknumber in genesis as hex (#14812)
Diffstat (limited to 'core/genesis.go')
-rw-r--r--core/genesis.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/genesis.go b/core/genesis.go
index a507d522b..fd6ed6115 100644
--- a/core/genesis.go
+++ b/core/genesis.go
@@ -92,6 +92,7 @@ type genesisSpecMarshaling struct {
ExtraData hexutil.Bytes
GasLimit math.HexOrDecimal64
GasUsed math.HexOrDecimal64
+ Number math.HexOrDecimal64
Difficulty *math.HexOrDecimal256
Alloc map[common.UnprefixedAddress]GenesisAccount
}