Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Combining coins with fee #16802

Open
xchChiaFarmers opened this issue Nov 9, 2023 · 5 comments · May be fixed by #15718
Open

[Bug] Combining coins with fee #16802

xchChiaFarmers opened this issue Nov 9, 2023 · 5 comments · May be fixed by #15718
Assignees
Labels
bug Something isn't working

Comments

@xchChiaFarmers
Copy link

xchChiaFarmers commented Nov 9, 2023

What happened?

The user wants to combine coins using

  1. Run CLI combine
    chia wallet coins combine -f 1269832460 --number-of-coins 100 --id 25 --fee 0.0000001

  2. Response:

Combining 7 coins.
Would you like to Continue? (y/n): y
  1. Response:
Exception from 'wallet' {'error': 'Transaction for 100000 is greater than spendable balance of 0. There may be other transactions pending or our minimum coin amount is too 
high.', 'success': False, 'traceback': 'Traceback (most recent call last):\n  File "chia\\rpc\\util.py", line 21, in inner\n  File "chia\\rpc\\wallet_rpc_api.py", line 1072, in send_transaction_multi\n  File "chia\\rpc\\util.py", line 82, in rpc_endpoint\n  File "chia\\rpc\\wallet_rpc_api.py", line 1616, in cat_spend\n  File "chia\\wallet\\cat_wallet\\cat_wallet.py", line 818, in generate_signed_transaction\n  File "chia\\wallet\\cat_wallet\\cat_wallet.py", line 717, in generate_unsigned_spendbundle\n  File "chia\\wallet\\cat_wallet\\cat_wallet.py", line 581, in create_tandem_xch_tx\n  File "chia\\wallet\\wallet.py", line 256, in select_coins\n  File "chia\\wallet\\coin_selection.py", line 57, in select_coins\nValueError: Transaction for 100000 is greater than spendable balance of 0. There may be other transactions pending or our minimum coin amount is too high.\n'}

However, standard wallet does have enough spendable balance:

Chia Wallet:
   -Total Balance:         5.345662453651 xch (5345662453651 mojo)
   -Pending Total Balance: 5.345662453651 xch (5345662453651 mojo)
   -Spendable:             2.311613686008 xch (2311613686008 mojo)
   -Type:                  STANDARD_WALLET
   -Wallet ID:             1

Running the coins split command including same fee size works without problems

Version

2.1.1

What platform are you using?

Windows

What ui mode are you using?

CLI

Relevant log output

No response

@xchChiaFarmers xchChiaFarmers added the bug Something isn't working label Nov 9, 2023
@wjblanke
Copy link
Contributor

Jack can u make sure the fee is coming from the correct wallet. Thanks for the report!

@AbandonedLand
Copy link

I get this same issue when trying to combine without a fee. I have the same setup (windows, 2.1.1).
I also tried to do a
chia rpc wallet cat_spend
and get the same error.

@jack60612
Copy link
Contributor

@xchChiaFarmers a fix should be coming.

@KryptomineCH
Copy link

KryptomineCH commented Dec 21, 2023

same issue here. this is kind of important since 0 fee transactions wont go through as of right now.I need to cancle my deleted offers somehow

@forReason
Copy link

furthermore the combine command crashes with No coins to combine. when trying to combine pending coins. The wallet has to be used from another db or computer.

the coins split command can handle pending coins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment