diff options
author | Wei-Ning Huang <w@dexon.org> | 2018-12-18 20:25:58 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:27:19 +0800 |
commit | 4cdf3cfea3cc93d0e18fd8c72b953cb62bf5b340 (patch) | |
tree | dad014cb96be5034998e0da6ff7021755d71ff4e /cmd | |
parent | 25170167372a41d22fc5951f459686b117c8380e (diff) | |
download | go-tangerine-4cdf3cfea3cc93d0e18fd8c72b953cb62bf5b340.tar go-tangerine-4cdf3cfea3cc93d0e18fd8c72b953cb62bf5b340.tar.gz go-tangerine-4cdf3cfea3cc93d0e18fd8c72b953cb62bf5b340.tar.bz2 go-tangerine-4cdf3cfea3cc93d0e18fd8c72b953cb62bf5b340.tar.lz go-tangerine-4cdf3cfea3cc93d0e18fd8c72b953cb62bf5b340.tar.xz go-tangerine-4cdf3cfea3cc93d0e18fd8c72b953cb62bf5b340.tar.zst go-tangerine-4cdf3cfea3cc93d0e18fd8c72b953cb62bf5b340.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.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 } |