poanetwork / poa-dapps-voting

POA Network Governance Dapp
https://voting.poa.network
GNU General Public License v3.0
26 stars 54 forks source link

(Bug - Trust Wallet) Transaction error after voting. Tx nonce is too low. #163

Open hashguide opened 6 years ago

hashguide commented 6 years ago

Transaction Error using an Android phone and Trust Wallet app to place vote. Had to reload the voting dapp after voting each time to be able to successfully vote.

Transaction Error 
Transaction nonce is too low. Try incrementing the nonce.

After refreshing the dapp within Trust dapp browser, casting a vote was successful for each ballot. This was done using Android phone Samsung Galaxy S6. Trust Wallet version 1.5.144

screenshot_20180721-092505

6proof commented 6 years ago

Thanks for testing and reporting this hashguide.

varasev commented 6 years ago

@vikmeup @madcake @kolya182 could it be the issue with TrustWallet app or it is on our side? We use web3.eth.sendTransaction: https://github.com/poanetwork/poa-dapps-voting/blob/84b3a6f29b8ee134c1e391862fcb7e10bd4c9ccb/src/helpers.js#L28-L34