fixing tests

This commit is contained in:
Tomasz Drwięga 2016-12-10 22:59:35 +01:00
parent b5020d3c8d
commit 1e8638608c
3 changed files with 3 additions and 3 deletions

View File

@ -69,7 +69,7 @@ impl IoContext for Expect {
Some(super::MAX_PROTOCOL_VERSION)
}
fn persistent_peer_id(&self, _peer: PeerId) -> Option<NodeId> {
fn persistent_peer_id(&self, _peer: &PeerId) -> Option<NodeId> {
None
}
}

View File

@ -15,7 +15,7 @@
// along with Parity. If not, see <http://www.gnu.org/licenses/>.
use ipc::IpcConfig;
use util::{H256, H512};
use util::H256;
/// Represents what has to be handled by actor listening to chain events
#[ipc]

View File

@ -25,7 +25,7 @@ use time::precise_time_ns;
use util::{Bytes, PerfTimer, Itertools, Mutex, RwLock, Hashable};
use util::{journaldb, TrieFactory, Trie};
use util::trie::TrieSpec;
use util::{U256, H256, H512, Address, H2048, Uint, FixedHash};
use util::{U256, H256, Address, H2048, Uint, FixedHash};
use util::kvdb::*;
// other