Skip to content

Commit

Permalink
XCMv2 backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
librelois committed May 5, 2023
1 parent 1812e50 commit 8b64bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xcm/src/v3/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ impl TryFrom<OldWeightLimit> for WeightLimit {
fn try_from(x: OldWeightLimit) -> result::Result<Self, ()> {
use OldWeightLimit::*;
match x {
Limited(w) => Ok(Self::Limited(Weight::from_parts(w, DEFAULT_PROOF_SIZE))),
Limited(w) => Ok(Self::Limited(Weight::from_parts(w, 2 * DEFAULT_PROOF_SIZE))),
Unlimited => Ok(Self::Unlimited),
}
}
Expand Down

0 comments on commit 8b64bd1

Please sign in to comment.