Skip to content

Commit

Permalink
witness: Refactor import statements
Browse files Browse the repository at this point in the history
Re-order the import statements in `witness` module to separate `crate`
imports from dependency imports.
  • Loading branch information
tcharding committed Jul 11, 2022
1 parent e23d3a8 commit b409ae7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/blockdata/witness.rs
Expand Up @@ -3,12 +3,13 @@
//! This module contains the [`Witness`] struct and related methods to operate on it
//!

use secp256k1::ecdsa;

use crate::blockdata::transaction::EcdsaSighashType;
use crate::consensus::encode::{Error, MAX_VEC_SIZE};
use crate::consensus::{Decodable, Encodable, WriteExt};
use crate::io::{self, Read, Write};
use crate::prelude::*;
use secp256k1::ecdsa;
use crate::VarInt;

/// The Witness is the data used to unlock bitcoins since the [segwit upgrade](https://github.com/bitcoin/bips/blob/master/bip-0143.mediawiki)
Expand Down

0 comments on commit b409ae7

Please sign in to comment.