Fix fake_crypto test fails

This commit is contained in:
Paul Hauner
2019-08-30 15:49:06 +10:00
parent 6234adc0d6
commit 9ffb6d0fe1
5 changed files with 9 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
#![cfg(all(test, not(feature = "fake_crypto")))]
use super::block_processing_builder::BlockProcessingBuilder;
use super::errors::*;
use crate::{per_block_processing, BlockSignatureStrategy};

View File

@@ -1,3 +1,5 @@
#![cfg(not(feature = "fake_crypto"))]
use state_processing::{
per_block_processing, test_utils::BlockBuilder, BlockProcessingError, BlockSignatureStrategy,
};