Skip to content

Commit a6a0dee

Browse files
committed
f - Drop redundant txid comparison
Rely on the surrounding txid-change branch. This keeps conflict tracking behavior unchanged. Co-Authored-By: HAL 9000
1 parent d9b76ea commit a6a0dee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/payment/store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ impl StorableObject for PendingPaymentDetails {
630630
if self.txid != update.txid {
631631
let old_txid = self.txid;
632632
self.txid = update.txid;
633-
if old_txid != self.txid && !self.conflicting_txids.contains(&old_txid) {
633+
if !self.conflicting_txids.contains(&old_txid) {
634634
self.conflicting_txids.push(old_txid);
635635
}
636636
updated = true;

0 commit comments

Comments
 (0)