Skip to content

Commit

Permalink
add recharge lock reason
Browse files Browse the repository at this point in the history
  • Loading branch information
songky committed Jul 26, 2022
1 parent 86fdaa9 commit b8c07a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pallets/nft-multi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ pub enum LockReason {
NftExchange,
SerialNumberExchange,
CooperationExchange,
RechargeLock,
}

impl Default for LockReason {
Expand All @@ -158,6 +159,7 @@ impl Into<u64> for LockReason {
LockReason::NftExchange => 1,
LockReason::SerialNumberExchange => 2,
LockReason::CooperationExchange => 3,
LockReason::RechargeLock => 4,
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions pallets/nft/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ pub enum LockReason {
NftExchange,
SerialNumberExchange,
CooperationExchange,
RechargeLock,
}

impl Default for LockReason {
Expand All @@ -137,6 +138,7 @@ impl Into<u64> for LockReason {
LockReason::NftExchange => 1,
LockReason::SerialNumberExchange => 2,
LockReason::CooperationExchange => 3,
LockReason::RechargeLock => 4,
}
}
}
Expand Down

0 comments on commit b8c07a3

Please sign in to comment.