mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
service/sol: Be more verbose on subscription init.
This commit is contained in:
@@ -109,6 +109,15 @@ impl SolClient {
|
||||
keypair.pubkey()
|
||||
};
|
||||
|
||||
if mint.is_some() {
|
||||
debug!(target: "SOL BRIDGE", "Got subscribe request for SPL token");
|
||||
debug!(target: "SOL BRIDGE", "Main wallet: {}", keypair.pubkey());
|
||||
debug!(target: "SOL BRIDGE", "Associated token address: {}", pubkey);
|
||||
} else {
|
||||
debug!(target: "SOL BRIDGE", "Got subscribe request for native SOL");
|
||||
debug!(target: "SOL BRIDGE", "Main wallet: {}", keypair.pubkey());
|
||||
}
|
||||
|
||||
// Check if we're already subscribed
|
||||
if self.subscriptions.lock().await.contains(&pubkey) {
|
||||
return Ok(());
|
||||
|
||||
Reference in New Issue
Block a user