mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 08:41:02 +00:00
parachain-system: Do not take self for last_relay_block_number (#2720)
FRAME DSL is working in a static context.
This commit is contained in:
@@ -1630,7 +1630,7 @@ impl<T: Config> Pallet<T> {
|
||||
|
||||
/// Get the relay chain block number which was used as an anchor for the last block in this
|
||||
/// chain.
|
||||
pub fn last_relay_block_number(&self) -> RelayChainBlockNumber {
|
||||
pub fn last_relay_block_number() -> RelayChainBlockNumber {
|
||||
LastRelayChainBlockNumber::<T>::get()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user