Skip to content

Commit

Permalink
commit cargo.lock (#2875)
Browse files Browse the repository at this point in the history
* commit cargo.lock

* rustfmt
  • Loading branch information
garyyu authored Jun 6, 2019
1 parent 5ebe2aa commit d03a81f
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 62 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: 4 additions & 5 deletions p2p/src/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
// 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 @@ -294,13 +293,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 d03a81f

Please sign in to comment.