Skip to content

Commit

Permalink
pink: Remove system requirements for balance_of
Browse files Browse the repository at this point in the history
  • Loading branch information
kvinwang committed Mar 27, 2024
1 parent 021a8c1 commit 002461b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/pink/runtime/src/runtime/extension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,6 @@ impl PinkExtBackend for CallInQuery {
&self,
account: ext::AccountId,
) -> Result<(pink::Balance, pink::Balance), Self::Error> {
self.ensure_system()?;
let account: AccountId32 = account.convert_to();
let total = crate::runtime::Balances::total_balance(&account);
let free = crate::runtime::Balances::free_balance(&account);
Expand Down

0 comments on commit 002461b

Please sign in to comment.