From 391fb191439583f87b6f450c767b525a1a83c171 Mon Sep 17 00:00:00 2001 From: Gav Date: Tue, 9 Jan 2018 17:50:35 +0100 Subject: [PATCH] Fix test. --- substrate/executor/src/wasm_executor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/executor/src/wasm_executor.rs b/substrate/executor/src/wasm_executor.rs index e0d47de267..cb2df774d9 100644 --- a/substrate/executor/src/wasm_executor.rs +++ b/substrate/executor/src/wasm_executor.rs @@ -252,8 +252,8 @@ mod tests { b"\0code".to_vec() => b"Hello world".to_vec(), b"input".to_vec() => b"Hello world".to_vec(), b"code".to_vec() => b"The code".to_vec(), - b"\0validator_count".to_vec() => vec![1], - b"\0validator".to_vec() => b"Hello world".to_vec() + b"\0authority_count".to_vec() => vec![1], + b"\0authority".to_vec() => b"Hello world".to_vec() ]; assert_eq!(expected, ext.storage); }