aboutsummaryrefslogtreecommitdiffstats
path: root/dex/backend.go
diff options
context:
space:
mode:
authorWei-Ning Huang <w@cobinhood.com>2018-10-13 15:22:08 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commit40b1f02b48cd275b878e9c4308c4373f2c6329e2 (patch)
tree19353d6d57a0f674b134454fbf59ab0bae0333a4 /dex/backend.go
parent7774f1809297b1d158cef504a56bf49296f90609 (diff)
downloaddexon-40b1f02b48cd275b878e9c4308c4373f2c6329e2.tar.gz
dexon-40b1f02b48cd275b878e9c4308c4373f2c6329e2.tar.zst
dexon-40b1f02b48cd275b878e9c4308c4373f2c6329e2.zip
dex: implement sendTx related governance methods
Diffstat (limited to 'dex/backend.go')
-rw-r--r--dex/backend.go2
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)