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

Enhancement: Named err on tx not fully funded #65

Merged
merged 3 commits into from
Oct 5, 2021

Conversation

tigh-latte
Copy link
Contributor

Currently there is no way to differentiate between not enough funds, vs a system error, from the error returned from tx.Fund without doing a raw string comparison 🤮 .

Adding in a new error and updated docs.

@tigh-latte tigh-latte requested review from theflyingcodr and jadwahab and removed request for theflyingcodr October 5, 2021 14:40
@mergify mergify bot added the enhancement New feature or request label Oct 5, 2021
@codecov-commenter
Copy link

codecov-commenter commented Oct 5, 2021

Codecov Report

Merging #65 (a8ba35c) into master (dda328c) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #65   +/-   ##
=======================================
  Coverage   84.75%   84.75%           
=======================================
  Files          28       28           
  Lines        3011     3011           
=======================================
  Hits         2552     2552           
  Misses        325      325           
  Partials      134      134           
Impacted Files Coverage Δ
txinput.go 85.26% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 37f94af...a8ba35c. Read the comment docs.

@mergify mergify bot merged commit 201dbcc into master Oct 5, 2021
@mergify mergify bot deleted the enhancement/named-err-on-fund-err branch October 5, 2021 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants