From 6a33f8b369d005bbe94ec0ea5b91cfb8f1c85b5b Mon Sep 17 00:00:00 2001 From: keorn Date: Tue, 13 Sep 2016 14:22:44 +0200 Subject: [PATCH] state constructor used only in tests --- ethcore/src/state/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethcore/src/state/mod.rs b/ethcore/src/state/mod.rs index 7a3b7b7ee..11c617474 100644 --- a/ethcore/src/state/mod.rs +++ b/ethcore/src/state/mod.rs @@ -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, account_start_nonce: U256, factories: Factories) -> State { let mut root = H256::new(); {