mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 07:31:02 +00:00
Add trie migration rpc to polkadot-parachain (#1424)
* add trie migration rpc to polkadot-parachain * pass backend * fix
This commit is contained in:
@@ -560,6 +560,7 @@ where
|
||||
let client = client.clone();
|
||||
let transaction_pool = transaction_pool.clone();
|
||||
|
||||
let backend_for_rpc = backend.clone();
|
||||
Box::new(move |deny_unsafe, _| {
|
||||
let deps = rpc::FullDeps {
|
||||
client: client.clone(),
|
||||
@@ -567,7 +568,7 @@ where
|
||||
deny_unsafe,
|
||||
};
|
||||
|
||||
rpc::create_full(deps).map_err(Into::into)
|
||||
rpc::create_full(deps, backend_for_rpc.clone()).map_err(Into::into)
|
||||
})
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user