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

Commit

Permalink
fix: incorrect fee error check conditional operator
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadouts authored and bucko13 committed Jan 5, 2024
1 parent ba5de57 commit 2b417c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reducers/transactionReducer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
: "";

Expand Down

0 comments on commit 2b417c6

Please sign in to comment.