Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
- fixed daggerhashimoto order placing bug
- API version compatibility bump
  • Loading branch information
nicehashdev committed Sep 6, 2016
1 parent 3014740 commit 5cba062
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ Temporary Items
*.cache
src/NHB.v12.suo
*.exe
src/NiceHashBot/bin/Debug/NiceHashBot.exe.config
*.config
src/NiceHashBot/bin/Debug/NiceHashBot.vshost.exe.manifest
src/NiceHashBot/bin/Release/NiceHashBot.vshost.exe.manifest
src/NiceHashBot/obj/x86/Debug/NiceHashBot.csproj.FileListAbsolute.txt
*.dll
*.pdb
src/NiceHashBot/bin/*
src/NiceHashBot/obj/*
2 changes: 1 addition & 1 deletion src/NiceHashBot/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public partial class FormMain : Form
public FormMain()
{
InitializeComponent();
this.Text = Application.ProductName + " [" + Application.ProductVersion + "]";
this.Text = Application.ProductName + " [v" + Application.ProductVersion + "]";

FormPoolInstance = null;
FormNewOrderInstance = null;
Expand Down
4 changes: 2 additions & 2 deletions src/NiceHashBot/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.3.2")]
[assembly: AssemblyFileVersion("1.0.3.2")]
[assembly: AssemblyVersion("1.0.3.3")]
[assembly: AssemblyFileVersion("1.0.3.3")]
4 changes: 3 additions & 1 deletion src/NiceHashBotLib/APIWrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class APIWrapper
/// <summary>
/// API Version compatible with.
/// </summary>
public readonly static string API_VERSION_COMPATIBLE = "1.2.2";
public readonly static string API_VERSION_COMPATIBLE = "1.2.6";

/// <summary>
/// URLs for NiceHash services.
Expand Down Expand Up @@ -464,6 +464,8 @@ private static T Request<T>(int ServiceLocation, string Method, bool AppendCrede
foreach (KeyValuePair<string, string> Entry in Parameters)
URL += "&" + Entry.Key + "=" + Entry.Value;
}

URL = URL.Replace("#", "%23");
}

string ResponseData;
Expand Down

0 comments on commit 5cba062

Please sign in to comment.