Skip to content

Commit 24a0ce4

Browse files
Update RpcLientUSubscription
1 parent a980b37 commit 24a0ce4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/client/usubscription/v3/RpcClientUSubscription.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ void RpcClientUSubscription::Subscribe(
4343

4444
rpc_handle_ = rpc_client_->invokeMethod(std::move(payload), std::move(on_response));
4545

46+
auto result = communication::Subscriber::subscribe(
47+
transport_, subscription_topic_, std::move(callback)); // TODO(lennart) callback?
48+
4649
if (static_cast<int>(rpc_handle_.isConnected()) == v1::OK) { // TODO(lennart): check if this is correct
4750
response->CopyFrom(rpc_handle_.value); // Copy data to the response
4851
} else {

0 commit comments

Comments
 (0)