From 6b2787aedb6ad1fd4bdedce7caf356ba378dbac3 Mon Sep 17 00:00:00 2001 From: Peter White Date: Mon, 9 Dec 2024 16:41:10 -0700 Subject: [PATCH] chore(up-contract): outdated field name and clippy allow --- crates/pop-cli/src/commands/up/contract.rs | 2 +- crates/pop-cli/src/wallet_integration.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/pop-cli/src/commands/up/contract.rs b/crates/pop-cli/src/commands/up/contract.rs index 485120bd..d8db466c 100644 --- a/crates/pop-cli/src/commands/up/contract.rs +++ b/crates/pop-cli/src/commands/up/contract.rs @@ -369,7 +369,7 @@ impl UpContractCommand { let transaction_data = TransactionData::new(self.url.to_string(), call_data); // starts server let mut wallet = WalletIntegrationManager::new(ui, transaction_data); - log::step(format!("Wallet signing portal started at http://{}", wallet.addr))?; + log::step(format!("Wallet signing portal started at http://{}", wallet.rpc_url))?; log::step("Waiting for signature... Press Ctrl+C to terminate early.")?; loop { diff --git a/crates/pop-cli/src/wallet_integration.rs b/crates/pop-cli/src/wallet_integration.rs index 2d7c4cdf..87e6b4dd 100644 --- a/crates/pop-cli/src/wallet_integration.rs +++ b/crates/pop-cli/src/wallet_integration.rs @@ -110,6 +110,7 @@ impl WalletIntegrationManager { } /// Signals the wallet integration server to shut down. + #[allow(dead_code)] pub async fn terminate(&mut self) -> anyhow::Result<()> { terminate_helper(&self.state).await } @@ -229,6 +230,7 @@ pub struct FrontendFromString { content: String, } +#[allow(dead_code)] impl FrontendFromString { pub fn new(content: String) -> Self { Self { content }