mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 11:31:05 +00:00
Add chain RPCs and getHeader. (#124)
* Add chain RPCs and getHeader. Also: - finish renaming transaction -> extrinsic; - rejig development chain spec to be more useful. * Fix. * Remove invalid comments. * Fix.
This commit is contained in:
@@ -141,7 +141,7 @@ pub fn run<I, T>(args: I) -> error::Result<()> where
|
||||
address.set_port(rpc_port);
|
||||
}
|
||||
|
||||
let handler = rpc::rpc_handler(service.client(), service.transaction_pool());
|
||||
let handler = rpc::rpc_handler(service.client(), service.transaction_pool(), service.client());
|
||||
let _server = rpc::start_http(&address, handler)?;
|
||||
|
||||
informant::start(&service, core.handle());
|
||||
|
||||
Reference in New Issue
Block a user