diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-10-16 19:26:29 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:23:39 +0800 |
commit | 7d938ac7fd4f787f6e4507ce69c6acc677eb8080 (patch) | |
tree | 664c98a1f37787d4352d2527b4f6752d9b9bc755 /dex/governance.go | |
parent | ab284ca86e5181cbd009aaa1e9b49d56eb532f97 (diff) | |
download | go-tangerine-7d938ac7fd4f787f6e4507ce69c6acc677eb8080.tar go-tangerine-7d938ac7fd4f787f6e4507ce69c6acc677eb8080.tar.gz go-tangerine-7d938ac7fd4f787f6e4507ce69c6acc677eb8080.tar.bz2 go-tangerine-7d938ac7fd4f787f6e4507ce69c6acc677eb8080.tar.lz go-tangerine-7d938ac7fd4f787f6e4507ce69c6acc677eb8080.tar.xz go-tangerine-7d938ac7fd4f787f6e4507ce69c6acc677eb8080.tar.zst go-tangerine-7d938ac7fd4f787f6e4507ce69c6acc677eb8080.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, |