Refactor tests module imports
Refactor the import statements for the bip158 tests module. Includes removing `extern crate` which is unnecessary now we have edition 2018.
This commit is contained in:
parent
2447d96b44
commit
5cfe9169f5
|
@ -542,16 +542,15 @@ impl<'a, W: io::Write> BitStreamWriter<'a, W> {
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test {
|
||||||
use crate::hash_types::BlockHash;
|
|
||||||
use crate::hashes::hex::FromHex;
|
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
extern crate serde_json;
|
use std::collections::HashMap;
|
||||||
use self::serde_json::Value;
|
|
||||||
|
use serde_json::Value;
|
||||||
|
|
||||||
use crate::consensus::encode::deserialize;
|
use crate::consensus::encode::deserialize;
|
||||||
use std::collections::HashMap;
|
use crate::hash_types::BlockHash;
|
||||||
|
use crate::hashes::hex::FromHex;
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_blockfilters() {
|
fn test_blockfilters() {
|
||||||
|
|
Loading…
Reference in New Issue