From af409eba071381c2e45997824d3426fd0036fb79 Mon Sep 17 00:00:00 2001 From: Svyatoslav Nikolsky Date: Mon, 20 Nov 2017 19:41:53 +0300 Subject: [PATCH] SecretSTore: fix after merge from secretstore_kovan_1_8 --- Cargo.lock | 2 +- ethcore/native_contracts/generator/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index fd4cc2e5d..600970524 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -678,7 +678,7 @@ dependencies = [ "ethcore-util 1.9.0", "ethcrypto 0.1.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-cpupool 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", "hash 0.1.0", diff --git a/ethcore/native_contracts/generator/src/lib.rs b/ethcore/native_contracts/generator/src/lib.rs index be71fc395..5986bded4 100644 --- a/ethcore/native_contracts/generator/src/lib.rs +++ b/ethcore/native_contracts/generator/src/lib.rs @@ -134,7 +134,7 @@ pub fn {snake_name}(&self, call: F, {params}) -> BoxFuture<{output_type}, pub fn encode_{snake_name}_input(&self, {params}) -> Result, String> {{ self.contract.function(r#"{abi_name}"#) .expect("function existence checked at compile-time; qed") - .encode_call({to_tokens}) + .encode_input(&{to_tokens}) .map_err(|e| format!("Error encoding call: {{:?}}", e)) }} "##,