Skip to content

Commit 6d5307e

Browse files
committed
psbt: after older check_older, not check_after
after vs older is sooooooooooooooooooooooooooo sneaky :'( Signed-off-by: Antoine Poinsot <[email protected]>
1 parent b342833 commit 6d5307e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/psbt/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ impl<'psbt, ToPkCtx: Copy, Pk: MiniscriptKey + ToPublicKey<ToPkCtx>> Satisfier<T
282282
// transaction version and sequence check
283283
false
284284
} else {
285-
<Satisfier<ToPkCtx, Pk>>::check_after(&Older(seq), n)
285+
<Satisfier<ToPkCtx, Pk>>::check_older(&Older(seq), n)
286286
}
287287
}
288288
}

0 commit comments

Comments
 (0)