From ad1cab7b75d6aab93a92302b090726c1d0dc43f6 Mon Sep 17 00:00:00 2001 From: Hernando Castano Date: Mon, 21 Nov 2022 16:25:15 -0500 Subject: [PATCH] Try different type for account ID --- examples/lang-err-integration-tests/call-builder/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/lang-err-integration-tests/call-builder/lib.rs b/examples/lang-err-integration-tests/call-builder/lib.rs index db5462df5d3..f0f132b735a 100755 --- a/examples/lang-err-integration-tests/call-builder/lib.rs +++ b/examples/lang-err-integration-tests/call-builder/lib.rs @@ -126,7 +126,9 @@ mod call_builder { .value .expect("Input is valid, call must not fail."); - let flipper_ink_acc_id = E2EAccountId(flipper_acc_id.clone().into()); + let flipper_ink_acc_id = + ink::primitives::AccountId::try_from(flipper_acc_id.clone().as_ref()) + .unwrap(); let invalid_selector = [0x00, 0x00, 0x00, 0x00]; let call_result = client .call(