mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 08:51:09 +00:00
pallet-evm: fix backend timestamp (#7245)
This commit is contained in:
@@ -80,7 +80,7 @@ impl<'vicinity, T: Trait> BackendT for Backend<'vicinity, T> {
|
||||
|
||||
fn block_timestamp(&self) -> U256 {
|
||||
let now: u128 = pallet_timestamp::Module::<T>::get().unique_saturated_into();
|
||||
U256::from(now)
|
||||
U256::from(now / 1000)
|
||||
}
|
||||
|
||||
fn block_difficulty(&self) -> U256 {
|
||||
|
||||
Reference in New Issue
Block a user