mirror of
https://github.com/janoside/btc-rpc-explorer.git
synced 2026-08-13 12:33:13 +02:00
Fix RBF detection to use the BIP-125 sequence threshold
This commit is contained in:
parent
1b03d67ac7
commit
4361dd9a4b
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@ function analyzeTransaction(tx, txInputs, txBlockHeight, currentBlockHeight, ext
|
|||
version: tx.version,
|
||||
haveInputData,
|
||||
antiFeeSniping: tx.locktime > 0,
|
||||
rbf: inputs.some((i) => i.sequence != null && i.sequence < 0xffffffff),
|
||||
rbf: inputs.some((i) => i.sequence != null && i.sequence < 0xfffffffe),
|
||||
onlyNativeSegwit: haveInputData && inTypes.every((t) => t === "p2wpkh"),
|
||||
multiType: inTypes.length > 1,
|
||||
compressed: compressedKeysOnly(inputs),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue