Skip to content

Commit

Permalink
IOS-9001 Update RentExtemptionRestrictable.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
Balashov152 committed Jan 29, 2025
1 parent 1204b02 commit 56468af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ protocol RentExtemptionRestrictable {

extension RentExtemptionRestrictable where Self: WalletProvider {
func validateRentExtemption(amount: Amount, fee: Amount) throws {
guard let balance = wallet.amounts[amount.type] else {
guard let balance = wallet.amounts[.coin] else {
throw ValidationError.balanceNotFound
}

Expand Down

0 comments on commit 56468af

Please sign in to comment.