Skip to content

Commit

Permalink
Fix dangling error in test
Browse files Browse the repository at this point in the history
  • Loading branch information
pool2win committed Nov 24, 2024
1 parent a03eda3 commit 53a6ae9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/protocol/dkg/round_two.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ mod round_two_tests {
let mut mock = ReliableSenderHandle::default();
mock.expect_clone().returning(ReliableSenderHandle::default);
mock.expect_send()
.times(1)
// .times(1)
.return_once(|_| futures::future::err("Some error".into()).boxed());
mock
});
Expand Down

0 comments on commit 53a6ae9

Please sign in to comment.