mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 13:27:57 +00:00
fix tests (#5416)
This commit is contained in:
@@ -250,7 +250,7 @@ impl<T: Trait> UnixTime for Module<T> {
|
||||
// now is duration since unix epoch in millisecond as documented in
|
||||
// `sp_timestamp::InherentDataProvider`.
|
||||
let now = Self::now();
|
||||
sp_std::if_std! {
|
||||
sp_std::if_std! {
|
||||
if now == T::Moment::zero() {
|
||||
debug::error!(
|
||||
"`pallet_timestamp::UnixTime::now` is called at genesis, invalid value returned: 0"
|
||||
|
||||
Reference in New Issue
Block a user