diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2019-02-22 13:14:55 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | c9104455be030e69fd499d6df646c3e0f021a9c0 (patch) | |
tree | 729516a01483e1a8aea3356e5a9000e6c6e53e25 /dex/app.go | |
parent | 57998d5b9eceec5967637028c51aee374a812664 (diff) | |
download | dexon-c9104455be030e69fd499d6df646c3e0f021a9c0.tar dexon-c9104455be030e69fd499d6df646c3e0f021a9c0.tar.gz dexon-c9104455be030e69fd499d6df646c3e0f021a9c0.tar.bz2 dexon-c9104455be030e69fd499d6df646c3e0f021a9c0.tar.lz dexon-c9104455be030e69fd499d6df646c3e0f021a9c0.tar.xz dexon-c9104455be030e69fd499d6df646c3e0f021a9c0.tar.zst dexon-c9104455be030e69fd499d6df646c3e0f021a9c0.zip |
core: Remove K, Phi and NumChains from Governance (#198)
* change default sync_core.sh
* vendor: sync to latest core
* core: Remove K, Phi and NumChain
Diffstat (limited to 'dex/app.go')
-rw-r--r-- | dex/app.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dex/app.go b/dex/app.go index 6739ebabb..d2bd02f0c 100644 --- a/dex/app.go +++ b/dex/app.go @@ -64,7 +64,7 @@ func NewDexconApp(txPool *core.TxPool, blockchain *core.BlockChain, gov *DexconG } func (d *DexconApp) addrBelongsToChain(address common.Address, chainSize, chainID *big.Int) bool { - return new(big.Int).Mod(address.Big(), chainSize).Cmp(chainID) == 0 + return true } func (d *DexconApp) chainLock(chainID uint32) { |