Fix logsSubscribe (#13996)
This commit is contained in:
parent
3d9d7557c8
commit
6ae4d2e5cb
@ -87,7 +87,7 @@ pub trait RpcSolPubSub {
|
||||
meta: Self::Metadata,
|
||||
subscriber: Subscriber<RpcResponse<RpcLogsResponse>>,
|
||||
filter: RpcTransactionLogsFilter,
|
||||
config: RpcTransactionLogsConfig,
|
||||
config: Option<RpcTransactionLogsConfig>,
|
||||
);
|
||||
|
||||
// Unsubscribe from logs notification subscription.
|
||||
@ -269,7 +269,7 @@ impl RpcSolPubSub for RpcSolPubSubImpl {
|
||||
_meta: Self::Metadata,
|
||||
subscriber: Subscriber<RpcResponse<RpcLogsResponse>>,
|
||||
filter: RpcTransactionLogsFilter,
|
||||
config: RpcTransactionLogsConfig,
|
||||
config: Option<RpcTransactionLogsConfig>,
|
||||
) {
|
||||
info!("logs_subscribe");
|
||||
|
||||
@ -306,7 +306,7 @@ impl RpcSolPubSub for RpcSolPubSubImpl {
|
||||
self.subscriptions.add_logs_subscription(
|
||||
address,
|
||||
include_votes,
|
||||
config.commitment,
|
||||
config.and_then(|config| config.commitment),
|
||||
sub_id,
|
||||
subscriber,
|
||||
)
|
||||
|
@ -3013,7 +3013,7 @@ Request:
|
||||
"params": [
|
||||
{
|
||||
"mentions": [ "11111111111111111111111111111111" ]
|
||||
}
|
||||
},
|
||||
{
|
||||
"commitment": "max"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user