diff --git a/ProjectPlugins/CodexPlugin/Mapper.cs b/ProjectPlugins/CodexPlugin/Mapper.cs index 014fbc7..9db2a84 100644 --- a/ProjectPlugins/CodexPlugin/Mapper.cs +++ b/ProjectPlugins/CodexPlugin/Mapper.cs @@ -57,8 +57,8 @@ namespace CodexPlugin Reward = ToDecInt(purchase.PricePerSlotPerSecond), Collateral = ToDecInt(purchase.RequiredCollateral), Expiry = ToDecInt(DateTimeOffset.UtcNow.ToUnixTimeSeconds() + purchase.Expiry.TotalSeconds), - Nodes = purchase.MinRequiredNumberOfNodes, - Tolerance = purchase.NodeFailureTolerance + Nodes = Convert.ToInt32(purchase.MinRequiredNumberOfNodes), + Tolerance = Convert.ToInt32(purchase.NodeFailureTolerance) }; } diff --git a/Tools/BiblioTech/BiblioTech.csproj b/Tools/BiblioTech/BiblioTech.csproj index 19422e4..427d3eb 100644 --- a/Tools/BiblioTech/BiblioTech.csproj +++ b/Tools/BiblioTech/BiblioTech.csproj @@ -12,7 +12,6 @@ -