Skip to content

Commit 10953f1

Browse files
committed
Fixed connector-lib printing to be general
1 parent 9e73de3 commit 10953f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

connectors/connector-lib/src/connector.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ impl Connector {
4242
println!("Bootstrap {} Value: {}", self.title, constant.base16_str());
4343
std::process::exit(0);
4444
} else {
45-
panic!("Failed to fetch Erg/USD from CoinGecko");
45+
panic!("Failed to fetch Connector bootstrap value.");
4646
}
4747
}
4848
}
@@ -76,7 +76,7 @@ impl Connector {
7676
// If submitting Datapoint tx worked
7777
let submit_result = oc.submit_datapoint(price);
7878
if let Ok(tx_id) = submit_result {
79-
println!("\nSubmit New Datapoint: {} nanoErg/USD", price);
79+
println!("\nSubmit New {} Datapoint: {}", self.title, price);
8080
println!("Transaction ID: {}", tx_id);
8181
} else {
8282
println!("Datapoint Tx Submit Error: {:?}", submit_result);

0 commit comments

Comments
 (0)