aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobody <ddean2009@163.com>2018-06-21 15:44:39 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-06-21 15:44:39 +0800
commit8db8d074e2fff547e9d85169018e03f89b5975a1 (patch)
tree90b3213bcc9535417edc226b2a77308689a1c14d
parent1a7033873496ad65ab740deab82c67d5a7b2f554 (diff)
downloaddexon-8db8d074e2fff547e9d85169018e03f89b5975a1.tar
dexon-8db8d074e2fff547e9d85169018e03f89b5975a1.tar.gz
dexon-8db8d074e2fff547e9d85169018e03f89b5975a1.tar.bz2
dexon-8db8d074e2fff547e9d85169018e03f89b5975a1.tar.lz
dexon-8db8d074e2fff547e9d85169018e03f89b5975a1.tar.xz
dexon-8db8d074e2fff547e9d85169018e03f89b5975a1.tar.zst
dexon-8db8d074e2fff547e9d85169018e03f89b5975a1.zip
cmd/geth: remove the tail "," from genesis config (#17028)
remove the tail "," from genesis config, which will cause genesis config parse error .
-rw-r--r--cmd/geth/genesis_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/geth/genesis_test.go b/cmd/geth/genesis_test.go
index a00ae00c1..e75b542cb 100644
--- a/cmd/geth/genesis_test.go
+++ b/cmd/geth/genesis_test.go
@@ -77,7 +77,7 @@ var customGenesisTests = []struct {
"homesteadBlock" : 314,
"daoForkBlock" : 141,
"daoForkSupport" : true
- },
+ }
}`,
query: "eth.getBlock(0).nonce",
result: "0x0000000000000042",