mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-26 05:35:03 +00:00
fix tests (#5416)
This commit is contained in:
1 parent
eed0045a0c
commit
7abc577017
3 files changed
+12
-5
No files matched your search
@@ -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