This repository has been archived by the owner on Jan 27, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wallet: use relay fee to check for dust not fee rate
In this commit we fix a lingering bug in our output sanity checks that would only show up during time periods of persistently higher fees. Before this commit we would incorrectly use the fee rate instead of the min relay fee when checking an output for dust. This would cause us to mistakenly reject a transaction for having a dust output. We fix this by falling back to using the current min-relayfee.
- Loading branch information