mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 03:31:10 +00:00
Make substrate-offchain compile for WASM again (#3965)
* Make substrate-offchain compile for WASM again * Minor adjustments
This commit is contained in:
committed by
Tomasz Drwięga
parent
678ec6899c
commit
5de3393297
@@ -33,7 +33,14 @@ use primitives::offchain::{
|
||||
use sr_primitives::{generic::BlockId, traits::{self, Extrinsic}};
|
||||
use transaction_pool::txpool::{Pool, ChainApi};
|
||||
|
||||
#[cfg(not(target_os = "unknown"))]
|
||||
mod http;
|
||||
|
||||
#[cfg(target_os = "unknown")]
|
||||
use http_dummy as http;
|
||||
#[cfg(target_os = "unknown")]
|
||||
mod http_dummy;
|
||||
|
||||
mod timestamp;
|
||||
|
||||
/// A message between the offchain extension and the processing thread.
|
||||
|
||||
Reference in New Issue
Block a user