Skip to content

Commit 6d08cc1

Browse files
author
Eugene Alekseev
committed
fixed compilation error
1 parent 3b0e0ec commit 6d08cc1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Assets/AnkrSDK/Examples/Scripts/EventListenerExample/EventListenerExample.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using AnkrSDK.Core.Data;
1+
using AnkrSDK.Core.Data;
22
using AnkrSDK.Core.Implementation;
33
using AnkrSDK.Core.Infrastructure;
44
using AnkrSDK.Examples.DTO;
@@ -24,7 +24,7 @@ public override void ActivateUseCase()
2424

2525
var ankrSDK = AnkrSDKWrapper.GetSDKInstance(ERC20ContractInformation.HttpProviderURL);
2626

27-
_eventSubscriber = ankrSDK.GetSubscriber(ERC20ContractInformation.WsProviderURL);
27+
_eventSubscriber = ankrSDK.CreateSubscriber(ERC20ContractInformation.WsProviderURL);
2828
_eventSubscriber.ListenForEvents().Forget();
2929
_eventSubscriber.OnOpenHandler += UniTask.Action(SubscribeWithTopics);
3030
}

0 commit comments

Comments
 (0)