Skip to content

Commit

Permalink
Merge pull request #551 from sumoprojects/dev
Browse files Browse the repository at this point in the history
[Merge] Dev to master branch (Nov 06, 2019)
  • Loading branch information
sumoprojects authored Nov 6, 2019
2 parents f318697 + db8c1a5 commit 13d0ed4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/crypto/cn_heavy_hash.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
#if defined(__x86_64__) || defined(__i386__) || defined(_M_X86) || defined(_M_X64)
#ifdef __GNUC__
#include <x86intrin.h>
#if defined(__clang__)
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#endif
#pragma GCC target ("aes")
#if !defined(HAS_WIN_INTRIN_API)
#include <cpuid.h>
Expand Down
2 changes: 1 addition & 1 deletion src/rpc/core_rpc_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1244,7 +1244,7 @@ namespace cryptonote
case 0: res.pow_algorithm = "Cryptonight"; break;
case 1: res.pow_algorithm = "CNv1 (Cryptonight variant 1)"; break;
case 2: case 3: res.pow_algorithm = "CNv2 (Cryptonight variant 2)"; break;
case 4: case 5: res.pow_algorithm = "CNv4 (Cryptonight variant 4)"; break;
case 4: case 5: case 6: res.pow_algorithm = "CNv4 (Cryptonight variant 4)"; break;
default: res.pow_algorithm = "I'm not sure actually"; break;
}
if (res.is_background_mining_enabled)
Expand Down

0 comments on commit 13d0ed4

Please sign in to comment.