Skip to content

Commit

Permalink
Pair of slight tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Sep 24, 2023
1 parent 818525d commit d2d0ff3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions processor/src/multisigs/scanner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,7 @@ impl<N: Network, D: Db> ScannerHandle<N, D> {

ScannerDb::<N, D>::register_key(txn, activation_number, key);
scanner.keys.push((activation_number, key));
assert!(scanner.keys.len() <= 2);

scanner.eventualities.insert(key.to_bytes().as_ref().to_vec(), EventualitiesTracker::new());
}
Expand Down
2 changes: 1 addition & 1 deletion processor/src/multisigs/scheduler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ impl<N: Network> Scheduler<N> {

for chunk in utxo_chunks.drain(..) {
// TODO: While payments have their TXs' fees deducted from themselves, that doesn't hold here
// We need to the documented, but not yet implemented, virtual amount scheme to solve this
// We need the documented, but not yet implemented, virtual amount scheme to solve this
log::debug!("aggregating a chunk of {} inputs", N::MAX_INPUTS);
plans.push(Plan {
key: self.key,
Expand Down

0 comments on commit d2d0ff3

Please sign in to comment.