Skip to content

Commit

Permalink
Merge pull request #8 from IliyanIlievPH/2
Browse files Browse the repository at this point in the history
Closes #2
  • Loading branch information
PaterSantyago committed Apr 14, 2020
2 parents 256f1e7 + aba3ef1 commit 760acbc
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Autofac;
using Autofac;
using JetBrains.Annotations;
using Lykke.HttpClientGenerator;
using Lykke.HttpClientGenerator.Infrastructure;
Expand Down Expand Up @@ -30,7 +30,7 @@ public static class AutofacExtension
if (string.IsNullOrWhiteSpace(settings.ServiceUrl))
throw new ArgumentException("Value cannot be null or whitespace.", nameof(CrossChainWalletLinkerServiceClientSettings.ServiceUrl));

var clientBuilder = HttpClientGenerator.HttpClientGenerator.BuildForUrl(settings.ServiceUrl)
var clientBuilder = HttpClientGenerator.BuildForUrl(settings.ServiceUrl)
.WithAdditionalCallsWrapper(new ExceptionHandlerCallsWrapper());

clientBuilder = builderConfigure?.Invoke(clientBuilder) ?? clientBuilder.WithoutRetries();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Falcon.Numerics" Version="0.1.1" />
<PackageReference Include="Falcon.PrivateBlockchain.MVNGateway" Version="2.1.0" />
<PackageReference Include="Lykke.Common" Version="7.5.0" />
<PackageReference Include="Lykke.Common.MsSql" Version="2.3.0" />
<PackageReference Include="MAVN.PrivateBlockchain.MVNGateway" Version="1.0.0-beta.1" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using AutoMapper;
using Lykke.PrivateBlockchain.Definitions;
using AutoMapper;
using MAVN.PrivateBlockchain.Definitions;
using MAVN.Service.CrossChainWalletLinker.Domain.Enums;
using MAVN.Service.CrossChainWalletLinker.Domain.Models;
using MAVN.Service.CrossChainWalletLinker.Domain.Services;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using Common.Log;
using Lykke.Common.Log;
using MAVN.Service.CrossChainWalletLinker.Domain.Services;
Expand Down Expand Up @@ -39,7 +39,7 @@ public bool Validate(string plainMessage, string signature, string publicAddress
return false;
}

return string.Equals(recoveredAddress, publicAddress, StringComparison.CurrentCultureIgnoreCase);
return string.Equals(recoveredAddress, publicAddress, StringComparison.OrdinalIgnoreCase);
}
}
}
4 changes: 2 additions & 2 deletions src/MAVN.Service.CrossChainWalletLinker/AutoMapperProfile.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using AutoMapper;
using Lykke.PrivateBlockchain.Definitions;
using AutoMapper;
using MAVN.PrivateBlockchain.Definitions;
using MAVN.Service.CrossChainWalletLinker.Client.Models;
using MAVN.Service.CrossChainWalletLinker.Domain.Models;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.ComponentModel.DataAnnotations;
using System.Net;
using System.Threading.Tasks;
Expand All @@ -9,7 +9,7 @@
using MAVN.Service.CrossChainWalletLinker.Client.Models;
using MAVN.Service.CrossChainWalletLinker.Domain.Services;
using Microsoft.AspNetCore.Mvc;
using LinkingError = Lykke.Service.CrossChainWalletLinker.Domain.Models.LinkingError;
using LinkingError = MAVN.Service.CrossChainWalletLinker.Domain.Models.LinkingError;

namespace MAVN.Service.CrossChainWalletLinker.Controllers
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Threading.Tasks;
using Lykke.Common.MsSql;
using Lykke.Logs;
Expand All @@ -18,7 +18,7 @@
using Lykke.Service.WalletManagement.Client.Models.Responses;
using Moq;
using Xunit;
using LinkingError = Lykke.Service.CrossChainWalletLinker.Domain.Models.LinkingError;
using LinkingError = MAVN.Service.CrossChainWalletLinker.Domain.Models.LinkingError;

namespace MAVN.Service.CrossChainWalletLinker.Tests
{
Expand Down

0 comments on commit 760acbc

Please sign in to comment.