Skip to content

Commit 74ef5af

Browse files
committed
Revert "change asset id to string"
This reverts commit 8430929.
1 parent 18917dd commit 74ef5af

File tree

1 file changed

+2
-2
lines changed
  • lazer/sdk/rust/protocol/src

1 file changed

+2
-2
lines changed

lazer/sdk/rust/protocol/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ pub use crate::{
3535
};
3636

3737
#[derive(
38-
Debug, Clone, PartialEq, Eq, Hash, PartialOrd, Ord, Serialize, Deserialize, From, Into,
38+
Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Serialize, Deserialize, From, Into,
3939
)]
40-
pub struct AssetId(pub String);
40+
pub struct AssetId(pub u32);
4141

4242
#[derive(
4343
Debug, Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Serialize, Deserialize, From, Into,

0 commit comments

Comments
 (0)