wallet-cli icon indicating copy to clipboard operation
wallet-cli copied to clipboard

del

Open robert-haas opened this issue 2 years ago • 3 comments

robert-haas avatar Jul 10 '22 18:07 robert-haas

Could you attach the output of cat ~/.dusk/config.toml command?

Curious to know if you're waiting the tx to be included in a block before you start to send another tx

herr-seppia avatar Jul 10 '22 18:07 herr-seppia

Would be nice to see what sendbatch.sh does.

Regardless, try running with --wait-for-tx flag set or add wait_for_tx = true under you [chain] section of the config file. This will make sure that the transaction has actually been included in a block (as opposed to just being propagated to the network).

Let us know how it goes!

t00ts avatar Jul 11 '22 16:07 t00ts

Looks like you might need to explicitly set the value to true:

  RUSK_WALLET_PWD=chosen_pw ./rusk-wallet -n chosen_name --wait-for-tx true transfer --key "$i" --rcvr chosen_address -amt 1

Also, if you're putting an & at the end of the line, the command will run in background, so I'm not sure the --wait-for-tx would have any effect. If the idea is to run these transfers sequentially I'd definitely remove that.

t00ts avatar Jul 13 '22 07:07 t00ts