I'm experiencing a problem where my total bitcoin balance is 1238944 satoshis.
Coin select is working perfectly to send 40000 satoshis or 20000 satoshis. It is unable to spend 30000 satoshis and returns undefined for the inputs and outputs. Here are the utxos:
Figured it out. I was sending a unrounded value (29999.999999 satoshis) in the target. Make sure you send integers to the library. Hope this helps someone in the future. :)
I'm experiencing a problem where my total bitcoin balance is 1238944 satoshis. Coin select is working perfectly to send 40000 satoshis or 20000 satoshis. It is unable to spend 30000 satoshis and returns
undefined
for the inputs and outputs. Here are the utxos: