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 13:49:59 +0800
commit92b358bb784d4d1e07f6a20e97b2ce6cb3054e7d (patch)
tree427d6500a6d6472123fa473e225d5dea4384aa2f /cmd
parent5218db859c54a2e00e7d9589c12b43f66429fe73 (diff)
downloaddexon-92b358bb784d4d1e07f6a20e97b2ce6cb3054e7d.tar
dexon-92b358bb784d4d1e07f6a20e97b2ce6cb3054e7d.tar.gz
dexon-92b358bb784d4d1e07f6a20e97b2ce6cb3054e7d.tar.bz2
dexon-92b358bb784d4d1e07f6a20e97b2ce6cb3054e7d.tar.lz
dexon-92b358bb784d4d1e07f6a20e97b2ce6cb3054e7d.tar.xz
dexon-92b358bb784d4d1e07f6a20e97b2ce6cb3054e7d.tar.zst
dexon-92b358bb784d4d1e07f6a20e97b2ce6cb3054e7d.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
}