Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Comments
  • Loading branch information
girazoki committed Feb 17, 2022
commit fc0c03fa2383f619c0818363edaa4b1b15be7d69
10 changes: 5 additions & 5 deletions runtime/moonbase/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1451,11 +1451,11 @@ where
{
fn convert(currency: CurrencyId) -> Option<MultiLocation> {
match currency {
// For now (and until we upgrade to 0.9.16 is adapted) we need to use the old anchoring
// here
// This is not a problem in either cases, since the view of the destination chain
// does not change
// TODO! change this to NewAnchoringSelfReserve once we uprade to 0.9.16
// For now and until Xtokens is adapted to handle 0.9.16 version we use
// the old anchoring here
// This is not a problem in either cases, since the view of the destination
// chain does not change
// TODO! change this to NewAnchoringSelfReserve once xtokens is adapted for it
CurrencyId::SelfReserve => {
let multi: MultiLocation = OldAnchoringSelfReserve::get();
Some(multi)
Expand Down
10 changes: 5 additions & 5 deletions runtime/moonriver/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1430,11 +1430,11 @@ where
{
fn convert(currency: CurrencyId) -> Option<MultiLocation> {
match currency {
// For now (and until we upgrade to 0.9.16 is adapted) we need to use the old anchoring
// here
// This is not a problem in either cases, since the view of the destination chain
// does not change
// TODO! change this to NewAnchoringSelfReserve once we uprade to 0.9.16
// For now and until Xtokens is adapted to handle 0.9.16 version we use
// the old anchoring here
// This is not a problem in either cases, since the view of the destination
// chain does not change
// TODO! change this to NewAnchoringSelfReserve once xtokens is adapted for it
CurrencyId::SelfReserve => {
let multi: MultiLocation = OldAnchoringSelfReserve::get();
Some(multi)
Expand Down