get_currency

Function get_currency 

Source
pub fn get_currency(code: &str) -> Currency
Expand description

Returns a currency from the given code.

Uses Currency::get_or_create_crypto to handle unknown currency codes.