From 2b417c623990f1de5ef41f7910f81c1fb17a056e Mon Sep 17 00:00:00 2001 From: Jack Date: Thu, 4 Jan 2024 12:43:20 -0900 Subject: [PATCH] fix: incorrect fee error check conditional operator --- src/reducers/transactionReducer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/reducers/transactionReducer.js b/src/reducers/transactionReducer.js index 273defe9..7c9111b4 100644 --- a/src/reducers/transactionReducer.js +++ b/src/reducers/transactionReducer.js @@ -163,8 +163,8 @@ function updateFeeRate(state, action) { // Get the fee. Ignore rate-too-high errors because this value creates // problems when trying to author a CPFP. const fee = - feeRateError === null && - feeRateError !== FeeValidationError.FEE_RATE_TOO_HIGH + feeRateError === null || + feeRateError === FeeValidationError.FEE_RATE_TOO_HIGH ? setFeeForRate(state, feeRateString, state.outputs.length) : "";