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-04-09 13:50:02 +0800
commit2cdb892937671626d54e96e29efd4387c873935f (patch)
treeed38adc816fc8be8f9b530b8c1ba81f102ff413e /dex/app.go
parent56cf2fb80b4cb4bd619a536392a1218ab068331f (diff)
downloaddexon-2cdb892937671626d54e96e29efd4387c873935f.tar
dexon-2cdb892937671626d54e96e29efd4387c873935f.tar.gz
dexon-2cdb892937671626d54e96e29efd4387c873935f.tar.bz2
dexon-2cdb892937671626d54e96e29efd4387c873935f.tar.lz
dexon-2cdb892937671626d54e96e29efd4387c873935f.tar.xz
dexon-2cdb892937671626d54e96e29efd4387c873935f.tar.zst
dexon-2cdb892937671626d54e96e29efd4387c873935f.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) {