Skip to content

Commit

Permalink
Update use-macros-in-a-custom-pallet.md (#2094)
Browse files Browse the repository at this point in the history
  • Loading branch information
Euraxluo authored Dec 11, 2023
1 parent 2b6797b commit 8553b97
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ To implement storage for the proof-of-existence pallet:
```rust
#[pallet::storage]
pub(super) type Claims<T: Config> = StorageMap<_, Blake2_128Concat, T::Hash, (T::AccountId, T::BlockNumber)>;
pub(super) type Claims<T: Config> = StorageMap<_, Blake2_128Concat, T::Hash, (T::AccountId, BlockNumberFor<T>)>;
#[pallet::hooks]
impl<T: Config> Hooks<BlockNumberFor<T>> for Pallet<T> {}
```
1. Save your changes.
Expand Down

0 comments on commit 8553b97

Please sign in to comment.