Re-order import statements
The import statements in `psbt/mod.rs` are a bit of a mess, re-order them in an attempt to group like things and separate out things that are different (e.g. `pub use` from `use`). Refactor only, no logic changes.
This commit is contained in:
parent
938b61bf66
commit
b80e5aeaab
|
@ -9,30 +9,28 @@
|
|||
|
||||
use core::cmp;
|
||||
|
||||
use crate::prelude::*;
|
||||
use crate::io;
|
||||
|
||||
use crate::blockdata::script::Script;
|
||||
use crate::blockdata::transaction::{ TxOut, Transaction};
|
||||
use crate::consensus::{encode, Encodable, Decodable};
|
||||
use crate::util::bip32::{ExtendedPubKey, KeySource};
|
||||
|
||||
pub use crate::util::sighash::Prevouts;
|
||||
|
||||
use crate::prelude::*;
|
||||
|
||||
use crate::io;
|
||||
mod error;
|
||||
pub use self::error::Error;
|
||||
|
||||
pub mod raw;
|
||||
|
||||
#[macro_use]
|
||||
mod macros;
|
||||
|
||||
pub mod raw;
|
||||
pub mod serialize;
|
||||
|
||||
mod error;
|
||||
pub use self::error::Error;
|
||||
|
||||
mod map;
|
||||
pub use self::map::{Input, Output, TapTree, PsbtSighashType, IncompleteTapTree};
|
||||
use self::map::Map;
|
||||
|
||||
use crate::util::bip32::{ExtendedPubKey, KeySource};
|
||||
|
||||
/// Partially signed transaction, commonly referred to as a PSBT.
|
||||
pub type Psbt = PartiallySignedTransaction;
|
||||
|
||||
|
|
Loading…
Reference in New Issue