Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit 1c871e5

Browse files
gavofyorkchevdor
authored andcommitted
Minor fix to encoding for XCM v1 (#3602)
1 parent 0b888c6 commit 1c871e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xcm/src/v1/multiasset.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ impl AssetId {
146146
/// Classification of whether an asset is fungible or not, along with a mandatory amount or instance.
147147
#[derive(Clone, Eq, PartialEq, Ord, PartialOrd, Debug, Encode, Decode)]
148148
pub enum Fungibility {
149-
Fungible(u128),
149+
Fungible(#[codec(compact)] u128),
150150
NonFungible(AssetInstance),
151151
}
152152

0 commit comments

Comments
 (0)