mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-11 21:27:06 +00:00
rename subscribe_to_updates() to updater() (#792)
This commit is contained in:
1 parent
e036087db7
commit
8ef80638d0
2 files changed
+5
-5
No files matched your search
@@ -25,7 +25,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
|
||||
// Start a new tokio task to perform the runtime updates while
|
||||
// utilizing the API for other use cases.
|
||||
let update_client = api.subscribe_to_updates();
|
||||
let update_client = api.updater();
|
||||
tokio::spawn(async move {
|
||||
let result = update_client.perform_runtime_updates().await;
|
||||
println!("Runtime update failed with result={:?}", result);
|
||||
|
||||
Reference in new issue
Block a user