Browse Source

Bug fix: overflow

Checking for confirmations 0 results in an overflow.
compile-for-aarch64
Philipp Hoenisch 3 years ago
parent
commit
1eb332d6fd
No known key found for this signature in database GPG Key ID: E5F8E74C672BC666
  1. 2
      daemon/src/monitor.rs

2
daemon/src/monitor.rs

@ -244,7 +244,7 @@ where
.entry((revoked_commit_tx.0, revoked_commit_tx.1.clone()))
.or_default()
.push((
ScriptStatus::with_confirmations(0),
ScriptStatus::InMempool,
Event::RevokedTransactionFound(order_id),
));
}

Loading…
Cancel
Save