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:
parent
0bbecb28e0
commit
21b2f929c5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue