Moved stub TxHash into zebra_chain::transaction

This commit is contained in:
Deirdre Connolly 2019-09-27 21:08:25 -04:00 committed by Henry de Valence
parent 29591df47e
commit b21b09bf8e
2 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,9 @@
//! Transaction types.
/// Stub-- delete later.
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
pub struct TxHash(pub [u8; 32]);
/// OutPoint
///
/// A particular transaction output reference.

View File

@ -12,10 +12,7 @@ use zebra_chain::block::BlockHeaderHash;
use zebra_chain::serialization::{
ReadZcashExt, SerializationError, ZcashDeserialize, ZcashSerialize,
};
/// Stub-- delete later.
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
pub struct TxHash(pub [u8; 32]);
use zebra_chain::transaction::TxHash;
/// An inventory hash which refers to some advertised or requested data.
///