Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pallet-timestamp:
UnixTime::now
implementation logs error only if c…
…alled at genesis (paritytech#5055) This PR reverts the removal of an [`if` statement](paritytech@7ecf3f7#diff-8bf31ba8d9ebd6377983fd7ecc7f4e41cb1478a600db1a15a578d1ae0e8ed435L370) merged recently, which affected test output verbosity of several pallets (e.g. staking, EPM, and potentially others). More generally, the `UnixTime::now` implementation of the timestamp pallet should log an error *only* when called at the genesis block.
- Loading branch information