refactor(blockdata/transaction): use nested paths

Instead of using a wildcard path for the `hash_types` module,
be explicit about what types we're using by using nested paths.

There are many benefits to this, including not polluting the namespace
and clearly demarcating the types' location.
This commit is contained in:
Max Giraldo 2021-01-01 06:37:45 -08:00 committed by Sebastian
parent 0bbecb28e0
commit 21b2f929c5
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ use blockdata::constants::WITNESS_SCALE_FACTOR;
#[cfg(feature="bitcoinconsensus")] use blockdata::script;
use blockdata::script::Script;
use consensus::{encode, Decodable, Encodable};
use hash_types::*;
use hash_types::{SigHash, Txid, Wtxid};
use VarInt;
/// A reference to a transaction output