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@byzantine-lab.io>2019-06-12 17:23:39 +0800
commite06704eba85a4c6136b024d636012259a3f9952a (patch)
treef02159da56e2f1b5980e8407134222a599ee27ff /dex/backend.go
parent533e2f705c798743d0fa0b4e61815389593f312e (diff)
downloadgo-tangerine-e06704eba85a4c6136b024d636012259a3f9952a.tar
go-tangerine-e06704eba85a4c6136b024d636012259a3f9952a.tar.gz
go-tangerine-e06704eba85a4c6136b024d636012259a3f9952a.tar.bz2
go-tangerine-e06704eba85a4c6136b024d636012259a3f9952a.tar.lz
go-tangerine-e06704eba85a4c6136b024d636012259a3f9952a.tar.xz
go-tangerine-e06704eba85a4c6136b024d636012259a3f9952a.tar.zst
go-tangerine-e06704eba85a4c6136b024d636012259a3f9952a.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)