state constructor used only in tests

This commit is contained in:
keorn 2016-09-13 14:22:44 +02:00
parent 67601327af
commit 6a33f8b369

View File

@ -56,7 +56,7 @@ const SEC_TRIE_DB_UNWRAP_STR: &'static str = "A state can only be created with v
impl State {
/// Creates new state with empty state root
#[cfg(test)]
//#[cfg(test)]
pub fn new(mut db: Box<JournalDB>, account_start_nonce: U256, factories: Factories) -> State {
let mut root = H256::new();
{