Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
url = "github:oxalica/rust-overlay";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
};
};
};
Expand Down
2 changes: 1 addition & 1 deletion src/fees/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ pub fn allocate_proportional_fees(
.sum();

let mut remainder = total_fees;
payouts.sort_by(|a, b| a.1.cmp(&b.1));
payouts.sort_by_key(|a| a.1);

let n_payouts = payouts.len();
let mut proportional_fees = HashMap::new();
Expand Down
2 changes: 1 addition & 1 deletion src/job/process_payout_queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ pub(super) async fn execute<'a>(

// Not using a Box here causes an interesting compile error with rustc 1.69.0
let included_utxos: Box<dyn Iterator<Item = (KeychainId, bitcoin::OutPoint)> + Send> =
Box::new(included_utxos.into_iter().flat_map(|(_, keychain_map)| {
Box::new(included_utxos.into_values().flat_map(|keychain_map| {
keychain_map
.into_iter()
.flat_map(|(keychain_id, outpoints)| {
Expand Down
Loading