Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

fix: add unreserve utxos action #371

Merged
merged 1 commit into from
Aug 23, 2023
Merged

fix: add unreserve utxos action #371

merged 1 commit into from
Aug 23, 2023

Conversation

arkadiuszos4chain
Copy link
Contributor

Motivation:

Creation of a draft transaction will mark UTXOs as reserved, and those UTXOs can't be used for another transaction.

If a draft transaction was created, but the "record transaction" process failed, UTXOs will still be reserved and can't be used for another payment.

A mechanism for unreserving UTXOs should be added for such cases.

@mergify mergify bot added the bug-P3 Lowest rated bug, affects nearly none or low-impact label Aug 23, 2023
@arkadiuszos4chain arkadiuszos4chain changed the title fix(BUX-137): add unreserve utxos action fix: add unreserve utxos action Aug 23, 2023
@codecov
Copy link

codecov bot commented Aug 23, 2023

Codecov Report

Merging #371 (a50c73f) into master (b223b85) will decrease coverage by 0.04%.
Report is 15 commits behind head on master.
The diff coverage is 25.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #371      +/-   ##
==========================================
- Coverage   52.10%   52.06%   -0.04%     
==========================================
  Files          90       90              
  Lines       10683    10683              
==========================================
- Hits         5566     5562       -4     
- Misses       4692     4696       +4     
  Partials      425      425              
Flag Coverage Δ
unittests 52.06% <25.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
action_utxo.go 58.09% <25.00%> (-3.81%) ⬇️

Continue to review full report in Codecov by Sentry.

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

Copy link
Member

@mrz1836 mrz1836 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mergify mergify bot merged commit 23d3f63 into BuxOrg:master Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug-P3 Lowest rated bug, affects nearly none or low-impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants