mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-11 21:11:07 +00:00
Remove substrate-in-the-browser (#9541)
* Comment out browser stuff * Remove browser stuff * Remove more wasm transport code * Remove ExtTransport and rework how telemetry initialises. * Change (most) wasm-timer using code to use std::time * Rename CI-job * Aura does not compile for wasm * Remove testing in the browser on CI * Update README * Leave `StreamSink` be * fmt
This commit is contained in:
@@ -164,7 +164,7 @@ impl TimestampInherentData for InherentData {
|
||||
/// This timestamp is the time since the UNIX epoch.
|
||||
#[cfg(feature = "std")]
|
||||
fn current_timestamp() -> std::time::Duration {
|
||||
use wasm_timer::SystemTime;
|
||||
use std::time::SystemTime;
|
||||
|
||||
let now = SystemTime::now();
|
||||
now.duration_since(SystemTime::UNIX_EPOCH)
|
||||
|
||||
Reference in New Issue
Block a user