From 81c061a68c62f31fedd35fa68243b5952ef42f86 Mon Sep 17 00:00:00 2001 From: Jake Rawsthorne Date: Tue, 14 Apr 2020 14:11:44 +0100 Subject: [PATCH] Change WitnessTransaction inv type to use txid --- src/network/message_blockdata.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/message_blockdata.rs b/src/network/message_blockdata.rs index e2795ef0..60320749 100644 --- a/src/network/message_blockdata.rs +++ b/src/network/message_blockdata.rs @@ -24,7 +24,7 @@ use hashes::sha256d; use network::constants; use consensus::encode::{self, Decodable, Encodable}; -use hash_types::{BlockHash, Txid, Wtxid}; +use hash_types::{BlockHash, Txid}; /// An inventory item. #[derive(PartialEq, Eq, Clone, Debug, Copy, Hash)] @@ -36,7 +36,7 @@ pub enum Inventory { /// Block Block(BlockHash), /// Witness Transaction - WitnessTransaction(Wtxid), + WitnessTransaction(Txid), /// Witness Block WitnessBlock(BlockHash), }