Cant Buy Tickets From Account "imported"

Discussion in 'PoS Pools' started by Metz, Oct 10, 2017.

  1. 2017/12/15 - Decred v1.1.2 released! → Release Notes  → Downloads
  1. Metz

    Metz New Member

    Oct 10, 2017

    hopefully someone can help to get this sorted out.

    The spendable balance moved to the imported account. Before the spenable balance was in the default account and we were able to buy tickets. Now we are not able to move the balance to the default account and we are not able to buy tickets from the imported account.

    ./dcrctl --wallet listaccounts
    "default": 0.17172144,
    "imported": 77.89297027

    ./dcrctl --wallet purchaseticket "imported" 64.73 1 xxxxx 1 xxxxx 5
    -4: account not found

    We did already a consolidate but this did not help.
    ./dcrctl --wallet consolidate 10000 "default"

    Many thanks
  2. Kandiru

    Kandiru Member

    Feb 21, 2016
    The imported should only show your current tickets, they are just there as locked voting authority. When your tickets vote, the funds should return to your default account.

    If you do ./dcrctl --wallet getbalance
    You should see that the type of balance is lockedbytickets for the imported account.

    If you have actually moved funds to your ticketaddress, you'll need to do do consolidate with an argument telling it where to send the funds. All you are doing with your command is consolidating default funds to itself

    ./dcrctl --wallet help consolidate

    consolidate inputs ("account" "address")

    Consolidate n many UTXOs into a single output in the wallet.

    1. inputs (numeric, required) Number of UTXOs to consolidate as inputs
    2. account (string, optional) Optional: Account from which unspent outputs are picked. When no address specified, also the account used to obtain an output address.
    3. address (string, optional) Optional: Address to pay. Default is obtained via getnewaddress from the account's address pool.

    So you'll need to getnewaddress from default, then

    consolidate imported <addressyoujustgot>

Share This Page