test client message handling

This commit is contained in:
keorn 2016-12-07 11:38:09 +01:00
parent da030fed51
commit a296c5e226

View File

@ -659,8 +659,8 @@ impl BlockChainClient for TestBlockChainClient {
self.miner.import_external_transactions(self, txs);
}
fn queue_consensus_message(&self, _packet: Bytes) {
unimplemented!();
fn queue_consensus_message(&self, message: Bytes) {
self.spec.engine.handle_message(UntrustedRlp::new(&message)).unwrap();
}
fn pending_transactions(&self) -> Vec<SignedTransaction> {