Skip to content

Commit

Permalink
Merge pull request hyperledger-archives#1560 from KitHat/master
Browse files Browse the repository at this point in the history
Fix double request
  • Loading branch information
andkononykhin authored Mar 26, 2019
2 parents 087d3c4 + 0752121 commit abdb6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libindy/src/services/pool/request_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ impl<T: Networker> RequestSM<T> {
}
RequestEvent::CustomSingleRequest(msg, req_id) => {
state.networker.borrow_mut().process_event(Some(NetworkerEvent::SendOneRequest(msg.clone(), req_id.clone(), timeout)));
state.networker.borrow_mut().process_event(Some(NetworkerEvent::SendOneRequest(msg, req_id, timeout)));
state.networker.borrow_mut().process_event(Some(NetworkerEvent::Resend(req_id, timeout)));
(RequestState::Single(state.into()), None)
}
RequestEvent::CustomFullRequest(msg, req_id, local_timeout, nodes_to_send) => {
Expand Down

0 comments on commit abdb6ec

Please sign in to comment.