aboutsummaryrefslogtreecommitdiffstats
path: root/dex/app.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2019-02-22 13:14:55 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commitc9104455be030e69fd499d6df646c3e0f021a9c0 (patch)
tree729516a01483e1a8aea3356e5a9000e6c6e53e25 /dex/app.go
parent57998d5b9eceec5967637028c51aee374a812664 (diff)
downloaddexon-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.go2
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) {