blockchain - Ethereum: low tx nonce or out of funds -


i started private network issuing command:

geth --datadir="~/datastore/ethereum" --port 30303 --rpc --rpcport 8545 --rpcaddr localhost --networkid 554433 --rpccorsdomain="*" --minerthreads "4" --mine --rpcapi "db,eth,net,web3" --maxpeers 0 --nodiscover --unlock=0 --verbosity 4 --gasprice 100 --gpomin 0 --gpomax 0 

then called smartcontract. saw smartcontract never anything.

i looked @ log information, message.

removed tx ( tx(b1a52b1414eb7b957ce4688a5aad07745f3055b3d415ca55d94afa45549c5dac) contract: false from: af8f853382b3b6db6ab7fa4f7df6f5329976988d to: c51b59d444993f6d613b023bf8598b781752fc54 nonce: 14 gasprice: 0 gaslimit 90000 value: 0 data: 0xb0c8f9dc0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002e516d54704b727248594459794567466d6373434654647a4b6f3154575346595046594239334d696d38456d467764000000000000000000000000000000000000 v: 0x1b r: 0x97acff26b4ac5727ade4c7a37a69c9ac6c53d3d02530091b81352804566719cd s: 0xe4b9c8e587a50e8d3b371423913da5bf7be019e5ea78991ad8b089e8802128f hex: f8e50e8083015f9094c51b59d444993f6d613b023bf8598b781752fc5480b884b0c8f9dc0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002e516d54704b727248594459794567466d6373434654647a4b6f3154575346595046594239334d696d38456d4677640000000000000000000000000000000000001ba097acff26b4ac5727ade4c7a37a69c9ac6c53d3d02530091b81352804566719cda00e4b9c8e587a50e8d3b371423913da5bf7be019e5ea78991ad8b089e8802128f ) pool: low tx nonce or out of funds 

could please give me advice?

the error code pretty straight forward. issue either

  • too low transaction nonce
  • or sender account has insufficient funds

i see setting gas price 0, however, think geth client still checks if there funds available. 2 things can do:

  • check if 0xaf8f853382b3b6db6ab7fa4f7df6f5329976988d has funds on it, if not put 1 testnet ether on , try again.
  • check transaction count on account web3.eth.gettransactioncount(accountaddress), if nonce low, try increment 1 until works.

see this question on ethereum stack exchange.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -