Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/fungible_token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl FungibleToken {
pub fn internal_unwrap_balance_of_eth_on_near(&self, account_id: &str) -> Balance {
match self.accounts_get(account_id) {
Some(balance) => u128::try_from_slice(&balance[..]).unwrap(),
None => sdk::panic_utf8(b"ERR_ACCOUNT_NOT_EXIST"),
None => 0,
}
}

Expand Down