Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Better handle when there is not enough bitcoin fund for a fund action #35

Open
D4nte opened this issue Jun 8, 2019 · 0 comments
Open

Comments

@D4nte
Copy link
Contributor

D4nte commented Jun 8, 2019

Following logs when there is no funds on Bitcoin to execute fund action:

bobtimus:actionExecutor Execute Ledger Action: {"type":"bitcoin-send-amount-to-address","payload":{"to":"bcrt1q727lsw0n9sr0m9x0ej3t3nzah445tw87sdlyrah3n8rk3ngecqqs76z3yu","amount":"10000","network":"regtest"}} +0ms
  bobtimus:bitcoin:feeservice Return fee: 62 +0ms
  bobtimus:bitcoin:wallet Fee (sats): 2728 +0ms
  bobtimus:index Action execution response for swap undefined: {"error":{},"isOk":false,"isErr":true} +435ms

Task:
Make the error object useful. (bitcoind RPC response for example)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant