Commit 4cae27e3 authored by Clint Mourlevat's avatar Clint Mourlevat

Fixing stratis generation address

parent 2305fbcd
......@@ -12,7 +12,7 @@ using Microsoft.Extensions.Caching.Memory;
using NBitcoin;
using Newtonsoft.Json;
using QRCoder;
using Stratis.Bitcoin.Networks;
using NBitcoin;
using Stratis.Guru.Models;
using Stratis.Guru.Modules;
......@@ -75,8 +75,8 @@ namespace Stratis.Guru.Controllers
var stratisAddress = new Key();
return View(new StratisAddressPayload
{
PrivateKey = stratisAddress.GetWif(Stratis.Bitcoin.Networks.StratisMain.Main).ToString(),
PublicKey = stratisAddress.PubKey.GetAddress(Stratis.Bitcoin.Networks.StratisMain.Main).ToString()
PrivateKey = stratisAddress.GetWif(Network.StratisMain).ToString(),
PublicKey = stratisAddress.PubKey.GetAddress(Network.StratisMain).ToString()
});
}
......
......@@ -7,32 +7,9 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" />
<PackageReference Include="Microsoft.AspNetCore.Razor.Design" Version="2.1.2" PrivateAssets="All" />
<PackageReference Include="NBitcoin" Version="4.1.1.54" />
<PackageReference Include="NStratis" Version="4.0.0.66" />
<PackageReference Include="NStratis" Version="4.0.0.34" />
<PackageReference Include="QRCoder" Version="1.3.3" />
<PackageReference Include="RestSharp" Version="106.5.4" />
<PackageReference Include="Stratis.Bitcoin" Version="1.0.0" />
<PackageReference Include="Stratis.Bitcoin.Networks" Version="1.2.2-beta" />
</ItemGroup>
<ItemGroup>
<_ContentIncludedByDefault Remove="wwwroot\images\dark-top-right-bg.png" />
<_ContentIncludedByDefault Remove="wwwroot\images\elliptical-bottom.png" />
<_ContentIncludedByDefault Remove="wwwroot\images\elliptical-top.png" />
<_ContentIncludedByDefault Remove="wwwroot\images\logo.png" />
<_ContentIncludedByDefault Remove="wwwroot\images\logos\transparent-logo-blue.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\logos\transparent-logo-dark.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\logos\transparent-logo-green.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\logos\transparent-logo-purple.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\logos\white-logo-blue.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\logos\white-logo-dark.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\logos\white-logo-green.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\logos\white-logo-purple.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\prodnews-hero.png" />
<_ContentIncludedByDefault Remove="wwwroot\images\qr.svg" />
<_ContentIncludedByDefault Remove="wwwroot\images\section-bg-bottom.png" />
<_ContentIncludedByDefault Remove="wwwroot\images\section-bg-top.png" />
<_ContentIncludedByDefault Remove="wwwroot\images\section-bg.png" />
</ItemGroup>
</Project>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment