-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle missing coin inputs in tx and psbt
As coins deposited by an unconfirmed transactions can be removed from the database, GUI should not rely on them to calculate fees. The fees must be passed as Option. If a input coin is missing for a psbt, we use the witness_utxo amount and settle the total fee to None if both are absents.
- Loading branch information
1 parent
7bfc538
commit dcef77b
Showing
3 changed files
with
135 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters