aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorWei-Ning Huang <w@dexon.org>2018-12-18 20:25:58 +0800
committerWei-Ning Huang <w@dexon.org>2019-04-09 21:32:54 +0800
commita6fd9c42d0d2632961f1f8adfe9db85ac125d294 (patch)
tree329aa6351559fc38db674879265ca3102ca74e43 /cmd
parent2e36ada5739437b6860d3978ac3e19f4073d94be (diff)
downloaddexon-a6fd9c42d0d2632961f1f8adfe9db85ac125d294.tar
dexon-a6fd9c42d0d2632961f1f8adfe9db85ac125d294.tar.gz
dexon-a6fd9c42d0d2632961f1f8adfe9db85ac125d294.tar.bz2
dexon-a6fd9c42d0d2632961f1f8adfe9db85ac125d294.tar.lz
dexon-a6fd9c42d0d2632961f1f8adfe9db85ac125d294.tar.xz
dexon-a6fd9c42d0d2632961f1f8adfe9db85ac125d294.tar.zst
dexon-a6fd9c42d0d2632961f1f8adfe9db85ac125d294.zip
core: vm: add undelegate fund lockup mechanism (#94)
Only allow a user to withdraw funds after a certain lockup period. This way, the fund of a bad actor could be confiscated before he could escape.
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gdex/dao_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gdex/dao_test.go b/cmd/gdex/dao_test.go
index 26572762c..22f82d4f4 100644
--- a/cmd/gdex/dao_test.go
+++ b/cmd/gdex/dao_test.go
@@ -127,7 +127,7 @@ func testDAOForkBlockNewChain(t *testing.T, test int, genesis string, expectBloc
}
defer db.Close()
- genesisHash := common.HexToHash("0xc8e4d0c33d92b7751fe3747f778aa27600508c8c922be1dbbc7db6ee967f4e6c")
+ genesisHash := common.HexToHash("0x5fc1fdb2eca492d256600c0d96a2ca7bdfd9412ac8557bcab54e05332260e26b")
if genesis != "" {
genesisHash = daoGenesisHash
}