SecretSTore: fix after merge from secretstore_kovan_1_8
This commit is contained in:
parent
32edb33608
commit
af409eba07
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -678,7 +678,7 @@ dependencies = [
|
|||||||
"ethcore-util 1.9.0",
|
"ethcore-util 1.9.0",
|
||||||
"ethcrypto 0.1.0",
|
"ethcrypto 0.1.0",
|
||||||
"ethkey 0.2.0",
|
"ethkey 0.2.0",
|
||||||
"ethsync 1.8.0",
|
"ethsync 1.9.0",
|
||||||
"futures 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
"futures 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"futures-cpupool 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
"futures-cpupool 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"hash 0.1.0",
|
"hash 0.1.0",
|
||||||
|
@ -134,7 +134,7 @@ pub fn {snake_name}<F, U>(&self, call: F, {params}) -> BoxFuture<{output_type},
|
|||||||
pub fn encode_{snake_name}_input(&self, {params}) -> Result<Vec<u8>, String> {{
|
pub fn encode_{snake_name}_input(&self, {params}) -> Result<Vec<u8>, String> {{
|
||||||
self.contract.function(r#"{abi_name}"#)
|
self.contract.function(r#"{abi_name}"#)
|
||||||
.expect("function existence checked at compile-time; qed")
|
.expect("function existence checked at compile-time; qed")
|
||||||
.encode_call({to_tokens})
|
.encode_input(&{to_tokens})
|
||||||
.map_err(|e| format!("Error encoding call: {{:?}}", e))
|
.map_err(|e| format!("Error encoding call: {{:?}}", e))
|
||||||
}}
|
}}
|
||||||
"##,
|
"##,
|
||||||
|
Loading…
Reference in New Issue
Block a user