diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-12-18 20:25:58 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2018-12-19 20:54:27 +0800 |
commit | cdc9c57f0bebe2c38e9cd3f77ae445f5701086fa (patch) | |
tree | a65e162dde04660f625f9e7b9194c93c4a134801 /cmd/gdex/dao_test.go | |
parent | 9ba7171a5b018a5365240c32acf8cbb9a438cd8e (diff) | |
download | dexon-cdc9c57f0bebe2c38e9cd3f77ae445f5701086fa.tar dexon-cdc9c57f0bebe2c38e9cd3f77ae445f5701086fa.tar.gz dexon-cdc9c57f0bebe2c38e9cd3f77ae445f5701086fa.tar.bz2 dexon-cdc9c57f0bebe2c38e9cd3f77ae445f5701086fa.tar.lz dexon-cdc9c57f0bebe2c38e9cd3f77ae445f5701086fa.tar.xz dexon-cdc9c57f0bebe2c38e9cd3f77ae445f5701086fa.tar.zst dexon-cdc9c57f0bebe2c38e9cd3f77ae445f5701086fa.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/gdex/dao_test.go')
-rw-r--r-- | cmd/gdex/dao_test.go | 2 |
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 } |