Skip to content

Commit

Permalink
fix: use QueryOutputCursor's into_iter
Browse files Browse the repository at this point in the history
Signed-off-by: 0x009922 <43530070+0x009922@users.noreply.github.com>
  • Loading branch information
0x009922 committed May 20, 2024
1 parent c1fc199 commit 67b7e71
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ fn visit_register_domain(executor: &mut Executor, _authority: &AccountId, isi: &
let required_prefix = FindAllParameters
.execute()
.unwrap()
.iter()
.into_iter()
.map(Result::unwrap)
.find_map(|parameter| EnforceDomainPrefix::try_from_object(&parameter).ok());

Expand Down

0 comments on commit 67b7e71

Please sign in to comment.