Skip to content

Commit

Permalink
Try different type for account ID
Browse files Browse the repository at this point in the history
  • Loading branch information
HCastano committed Nov 21, 2022
1 parent 4dc9973 commit ad1cab7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/lang-err-integration-tests/call-builder/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ad1cab7

Please sign in to comment.