Skip to content

Commit

Permalink
Patch HashMap initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCharlatan committed Apr 16, 2022
1 parent 17f0afc commit 8932e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/farcasterd/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,7 @@ impl Runtime {
let options = monero_rpc::TransferOptions::default();
match wallet
.transfer(
HashMap::from([(address, amount)]),
[(address, amount)].iter().cloned().collect(),
monero_rpc::TransferPriority::Default,
options.clone(),
)
Expand Down

0 comments on commit 8932e93

Please sign in to comment.