Skip to content

Commit eda0d25

Browse files
committed
witness: Refactor import statements
Re-order the import statements in `witness` module to separate `crate` imports from dependency imports.
1 parent 14a0b00 commit eda0d25

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/blockdata/witness.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
//! This module contains the [`Witness`] struct and related methods to operate on it
44
//!
55
6+
use secp256k1::ecdsa;
7+
68
use crate::blockdata::transaction::EcdsaSighashType;
79
use crate::consensus::encode::{Error, MAX_VEC_SIZE};
810
use crate::consensus::{Decodable, Encodable, WriteExt};
911
use crate::io::{self, Read, Write};
1012
use crate::prelude::*;
11-
use secp256k1::ecdsa;
1213
use crate::VarInt;
1314

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

0 commit comments

Comments
 (0)