Moved stub TxHash into zebra_chain::transaction
This commit is contained in:
parent
29591df47e
commit
b21b09bf8e
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
///
|
||||
|
|
Loading…
Reference in New Issue