Skip to content

Commit

Permalink
Revert "commit cargo.lock (#2875)"
Browse files Browse the repository at this point in the history
This reverts commit d03a81f.
  • Loading branch information
quentinlesceller authored Jun 25, 2019
1 parent 93bcb23 commit 87315bb
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 61 deletions.
114 changes: 57 additions & 57 deletions Cargo.lock

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

9 changes: 5 additions & 4 deletions p2p/src/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


use crate::conn::{Message, MessageHandler, Response, Tracker};
use crate::core::core::{self, hash::Hash, hash::Hashed, CompactBlock};

Expand Down Expand Up @@ -293,13 +294,13 @@ impl MessageHandler for Protocol {

Type::TxHashSetRequest => {
let sm_req: TxHashSetRequest = msg.body()?;
debug!(
"handle_payload: txhashset req for {} at {}",
sm_req.hash, sm_req.height
);

let txhashset_header = self.adapter.txhashset_archive_header()?;
let txhashset_header_hash = txhashset_header.hash();
debug!(
"handle_payload: txhashset request for {} at {}, response with {} at {}",
sm_req.hash, sm_req.height, txhashset_header.height, txhashset_header_hash,
);
let txhashset = self.adapter.txhashset_read(txhashset_header_hash);

if let Some(txhashset) = txhashset {
Expand Down

0 comments on commit 87315bb

Please sign in to comment.