Skip to content

Commit fae4d82

Browse files
committed
latest fixes
1 parent 4a8e508 commit fae4d82

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Packages/Sequence-Unity/Sequence/SequenceSDK/EcosystemWallet/Authentication/RedirectHandler/WindowsRedirectCheck.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@ namespace Sequence.EcosystemWallet.Browser
1111
public class WindowsRedirectCheck : MonoBehaviour
1212
{
1313
#if !UNITY_EDITOR && UNITY_STANDALONE_WIN
14+
private const int Port = 4444;
15+
1416
private static Mutex _mutex;
1517

1618
private void Start()
1719
{
18-
return;
1920
if (IsFirstInstance())
2021
return;
2122

@@ -30,7 +31,7 @@ private void TrySendArgsToRunningInstance(string[] args)
3031

3132
try
3233
{
33-
using var client = new TcpClient("127.0.0.1", TcpRedirectHandler.WindowsIpcPort);
34+
using var client = new TcpClient("127.0.0.1", Port);
3435
using var stream = client.GetStream();
3536

3637
var message = "@@@@" + args[1] + "$$$$";

Packages/Sequence-Unity/Sequence/SequenceSDK/Relayer/SequenceRelayer.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
using System.Collections.Generic;
22
using System.Threading.Tasks;
3+
using Sequence.Config;
34
using Sequence.Utils;
45

56
namespace Sequence.Relayer
@@ -10,7 +11,7 @@ public class SequenceRelayer : IRelayer
1011

1112
private readonly Dictionary<string, string> _headers = new()
1213
{
13-
// { "X-Access-Key", SequenceConfig.GetConfig().BuilderAPIKey }
14+
{ "X-Access-Key", SequenceConfig.GetConfig().BuilderAPIKey }
1415
};
1516

1617
public SequenceRelayer(Chain chain)

0 commit comments

Comments
 (0)