omnicore: omni_funded_send always fails (develop branch)

I have no success with omni_funded_send with fresh develop sources, any call returns error -211 “wallet may be locked or fees may not be sufficient” even if source address has enough btc.

I dived into the sources and found something looks like a bug: https://github.com/OmniLayer/omnicore/blob/develop/src/omnicore/wallettxbuilder.cpp#L243-L244 I guess there should be

    if (wtxNew)
-        fSuccess = false;
+        fSuccess = true;

This code appears at 67f7377787

I’m not ready to make pull-request with this small fix b/c I’m not sure about tests.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 27 (1 by maintainers)

Most upvoted comments

The same issue for 0.6.0 release (running on mainnet and testnet). BTW omni_send works fine

UPD https://github.com/OmniLayer/omnicore/blob/v0.6.0/src/omnicore/wallettxbuilder.cpp#L243-L244