Skip to content

Commit

Permalink
fix: 🐛 convert_to_token
Browse files Browse the repository at this point in the history
  • Loading branch information
yooml committed Sep 22, 2022
1 parent 2e81d8a commit 953f0e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pallets/asset-registry/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,7 @@ impl<T: Config> CurrencyIdConversion<CurrencyId> for AssetIdMaps<T> {
match currency_id {
CurrencyId::VSBond(TokenSymbol::BNC, 2001, 13, 20) =>
Ok(CurrencyId::Token(TokenSymbol::KSM)),
CurrencyId::VToken(TokenSymbol::BNC) => Ok(CurrencyId::Native(TokenSymbol::BNC)),
CurrencyId::VToken(token_symbol) |
CurrencyId::VSToken(token_symbol) |
CurrencyId::VSBond(token_symbol, ..) => Ok(CurrencyId::Token(token_symbol)),
Expand Down

0 comments on commit 953f0e5

Please # to comment.