Skip to content

Commit

Permalink
s/account/program in info msgs
Browse files Browse the repository at this point in the history
  • Loading branch information
CriesofCarrots committed Mar 8, 2019
1 parent de4d14d commit 6de24ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/rpc_pubsub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ impl RpcSolPubSub for RpcSolPubSubImpl {

let id = self.uid.fetch_add(1, atomic::Ordering::SeqCst);
let sub_id = SubscriptionId::Number(id as u64);
info!("account_subscribe: account={:?} id={:?}", pubkey, sub_id);
info!("program_subscribe: account={:?} id={:?}", pubkey, sub_id);
let sink = subscriber.assign_id(sub_id.clone()).unwrap();

self.subscriptions
Expand All @@ -163,7 +163,7 @@ impl RpcSolPubSub for RpcSolPubSubImpl {
_meta: Option<Self::Metadata>,
id: SubscriptionId,
) -> Result<bool> {
info!("account_unsubscribe: id={:?}", id);
info!("program_unsubscribe: id={:?}", id);
if self.subscriptions.remove_program_subscription(&id) {
Ok(true)
} else {
Expand Down

0 comments on commit 6de24ff

Please sign in to comment.