Skip to main content

funds_currency_mismatch_warning

Function funds_currency_mismatch_warning 

Source
pub fn funds_currency_mismatch_warning(
    requested_currency: Option<i32>,
    returned_currency: Option<i32>,
) -> Option<String>
Expand description

User-visible warning when a single-currency backend ignores explicit funds currency and returns the account native currency instead.

Only warn when the user explicitly requested a currency and the response carries a different non-unknown currency tag.