diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2019-06-28 22:44:38 -0400 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2019-06-28 22:44:38 -0400 |
commit | 806b0052c3b45415862f74f20ba5f389e5b673de (patch) | |
tree | f8acbb20ec282a28fb0eba331a4e81d6a75872e4 /src/policy | |
parent | 7400135b7918df9c34206bead744c496e07b0e78 (diff) |
[wallet] abort when attempting to fund a transaction above maxtxfee
FundTransaction calls GetMinimumFee which, when the fee rate is absurdly high, quietly reduced the fee to -maxtxfee. Becaue an absurdly high fee rate is usually the result of a fat finger, aborting seems safer behavior.
Diffstat (limited to 'src/policy')
-rw-r--r-- | src/policy/fees.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/policy/fees.h b/src/policy/fees.h index 6e61f76178..16683bf5ad 100644 --- a/src/policy/fees.h +++ b/src/policy/fees.h @@ -43,7 +43,6 @@ enum class FeeReason { PAYTXFEE, FALLBACK, REQUIRED, - MAXTXFEE, }; /* Used to determine type of fee estimation requested */ |