diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-10-13 15:22:08 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:49 +0800 |
commit | 66f5c9d6b502bdf49d9888f328e07e7d860bd3b4 (patch) | |
tree | bb550bb5664271182b2a9cf5489b2bf78da2822a /dex/backend.go | |
parent | 784a92928b1abba88e3808a104c36ef261bf64b5 (diff) | |
download | dexon-66f5c9d6b502bdf49d9888f328e07e7d860bd3b4.tar dexon-66f5c9d6b502bdf49d9888f328e07e7d860bd3b4.tar.gz dexon-66f5c9d6b502bdf49d9888f328e07e7d860bd3b4.tar.bz2 dexon-66f5c9d6b502bdf49d9888f328e07e7d860bd3b4.tar.lz dexon-66f5c9d6b502bdf49d9888f328e07e7d860bd3b4.tar.xz dexon-66f5c9d6b502bdf49d9888f328e07e7d860bd3b4.tar.zst dexon-66f5c9d6b502bdf49d9888f328e07e7d860bd3b4.zip |
dex: implement sendTx related governance methods
Diffstat (limited to 'dex/backend.go')
-rw-r--r-- | dex/backend.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dex/backend.go b/dex/backend.go index 2396f0f71..2b4db94c4 100644 --- a/dex/backend.go +++ b/dex/backend.go @@ -148,7 +148,7 @@ func New(ctx *node.ServiceContext, config *Config) (*Dexon, error) { //} dex.APIBackend.gpo = gasprice.NewOracle(dex.APIBackend, gpoParams) - dex.governance = NewDexconGovernance(dex.APIBackend, config.PrivateKey) + dex.governance = NewDexconGovernance(dex.APIBackend, dex.chainConfig, config.PrivateKey) dex.app = NewDexconApp(dex.txPool, dex.blockchain, dex.governance, chainDb, config, vmConfig) privKey := coreEcdsa.NewPrivateKeyFromECDSA(config.PrivateKey) |