Skip to content

Commit 7dca4c8

Browse files
committed
Fix example cli compile
1 parent ee821fc commit 7dca4c8

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ jobs:
4141
- name: Check clippy
4242
run: ./ci/check-lint.sh
4343

44+
- name: Check examples
45+
run: cargo check -p orange-cli
46+
4447
- name: Run tests
4548
run: cargo test --features _test-utils
4649

examples/cli/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ impl WalletState {
133133

134134
println!("{} Initializing wallet...", "⚡".bright_yellow());
135135

136-
match Wallet::new(runtime.clone(), config).await {
136+
match Wallet::new_with_runtime(runtime.clone(), config).await {
137137
Ok(wallet) => {
138138
println!("{} Wallet initialized successfully!", "✅".bright_green());
139139
println!("Network: {}", NETWORK.to_string().bright_cyan());

0 commit comments

Comments
 (0)