Vec<u8> -> Bytes and clearing log API

This commit is contained in:
Tomusdrw
2016-01-16 17:17:43 +01:00
parent 09c46be74d
commit 79c1cc02f7
7 changed files with 15 additions and 14 deletions

View File

@@ -132,11 +132,11 @@ impl<'a> Ext for TestExt<'a> {
res
}
fn extcode(&self, address: &Address) -> Vec<u8> {
fn extcode(&self, address: &Address) -> Bytes {
self.ext.extcode(address)
}
fn log(&mut self, topics: Vec<H256>, data: Vec<u8>) {
fn log(&mut self, topics: Vec<H256>, data: &[u8]) {
self.ext.log(topics, data)
}