Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/add vtoken exchange rate rpc #1277

Merged
merged 8 commits into from
Jun 21, 2024
2 changes: 1 addition & 1 deletion pallets/vtoken-minting/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1944,7 +1944,7 @@ pub mod pallet {
let token_id = T::CurrencyIdConversion::convert_to_token(vtoken_id)
.map_err(|_| Error::<T>::NotSupportTokenType)?;

let vtoken_amount = Self::get_vtoken_amount(token_id, 1u128)?;
let vtoken_amount = Self::get_vtoken_amount(token_id, 1000u128)?;
result.push((token_id, vtoken_amount));
}
},
Expand Down