Browse Source

cleaning

pull/123/head
notgiven688 3 years ago
parent
commit
28920c09c2
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      server/Server/Program.cs

+ 3
- 2
server/Server/Program.cs View File

@ -269,12 +269,13 @@ namespace Server {
string parta = blob.Substring (0, 78);
string partb = blob.Substring (86, blob.Length - 86);
lock (hash_locker) {
lock (hashLocker) {
IntPtr pStr = hash_cn (parta + nonce + partb);
string ourresult = Marshal.PtrToStringAnsi (pStr);
if (ourresult != result) return false;
}
if (ourresult != result) return false;
}
#endif

Loading…
Cancel
Save