From 6837899eba9f1a21390057f45e170e5cca0178e3 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Fri, 8 Jan 2016 11:53:07 +0100 Subject: [PATCH] Fixups for new bytes.rs API. --- src/builtin.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtin.rs b/src/builtin.rs index f299f0b81..33c19dfb7 100644 --- a/src/builtin.rs +++ b/src/builtin.rs @@ -86,7 +86,7 @@ pub fn new_builtin_exec(name: &str) -> Option> { s: H256, } let mut it: InType = InType { hash: H256::new(), v: H256::new(), r: H256::new(), s: H256::new() }; - it.copy_from_raw(input); + it.fax_raw(input); if it.v == H256::from(&U256::from(27)) || it.v == H256::from(&U256::from(28)) { let s = Signature::from_rsv(&it.r, &it.s, it.v[31] - 27); if is_valid(&s) {