diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-10-16 19:26:29 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | 88b272df86618979916a2b9f45723745dd556245 (patch) | |
tree | 7e33b4753e3920e65361991d695aeb1cadba92d1 /dex/governance.go | |
parent | 0c555d3f347dc8458ddae614b093c9b11d54e629 (diff) | |
download | dexon-88b272df86618979916a2b9f45723745dd556245.tar dexon-88b272df86618979916a2b9f45723745dd556245.tar.gz dexon-88b272df86618979916a2b9f45723745dd556245.tar.bz2 dexon-88b272df86618979916a2b9f45723745dd556245.tar.lz dexon-88b272df86618979916a2b9f45723745dd556245.tar.xz dexon-88b272df86618979916a2b9f45723745dd556245.tar.zst dexon-88b272df86618979916a2b9f45723745dd556245.zip |
dex/core: misc bug fixes
Diffstat (limited to 'dex/governance.go')
-rw-r--r-- | dex/governance.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dex/governance.go b/dex/governance.go index a78cf2d4f..19b9e578c 100644 --- a/dex/governance.go +++ b/dex/governance.go @@ -109,6 +109,10 @@ func (d *DexconGovernance) sendGovTx(ctx context.Context, data []byte) error { return err } + if nonce > 0 { + nonce += 1 + } + tx := types.NewTransaction( nonce, vm.GovernanceContractAddress, |