SendMoney() : Signing transaction failed #5828

issue mohamedfarrag openend this issue on February 25, 2015
  1. mohamedfarrag commented at 7:42 am on February 25, 2015: none
    Sometimes I got this error message when I try to send bitcoins , I don’t understand why ? PS: this happened after I encrypted my wallet , is it related ?
  2. paveljanik commented at 8:05 am on February 25, 2015: contributor
    Yes. Try it on a testnet wallet first. Read bitcoin-cli help encryptwallet.
  3. paveljanik commented at 8:12 am on February 25, 2015: contributor
    Please close this issue as this is not real issue in Bitcoin Core.
  4. mohamedfarrag commented at 8:25 am on February 25, 2015: none
    I did it in test net , and I’m providing the passphrase of course before sending bitcoins
  5. paveljanik commented at 8:30 am on February 25, 2015: contributor
    So please write here, what are you doing, show us utxos etc.
  6. mohamedfarrag commented at 8:49 am on February 25, 2015: none

    I just send bitcoin : walletpassphrase ******* 5
    sendtoaddress “bitcoinaddress” amount

    That’s it and received the error that I wrote.

  7. paveljanik commented at 9:02 am on February 25, 2015: contributor

    I just did this:

    0bitcoin-cli sendtoaddress ...address... amount
    1error: {"code":-13,"message":"Error: Please enter the wallet passphrase with walletpassphrase first."}
    2
    3bitcoin-cli walletpassphrase ...password... 5 
    4
    5bitcoin-cli sendtoaddress ...address... ...amount...
    6...tx id...
    
  8. paveljanik commented at 10:01 am on February 25, 2015: contributor

    I can’t reproduce here. If the wallet is encrypted, I get either

    0error: {"code":-13,"message":"Error: Please enter the wallet passphrase with walletpassphrase first."}
    

    when the wallet is not unlocked or

    0txid
    

    when the wallet is unlocked at the time of the action. But this is in clean wallet with one unspent transaction output. You have to investigate which outputs you have to spent. What is special about your testnet wallet?

  9. mohamedfarrag commented at 11:27 am on February 25, 2015: none
    I don’t know maybe something went wrong to this wallet , I tried it in a new one and it works !
  10. mohamedfarrag closed this on Feb 25, 2015

  11. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-01-21 21:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me