Added get_aux_slot

This commit is contained in:
SChernykh
2023-10-24 14:13:36 +02:00
parent da45871f0b
commit 417c89e96f
7 changed files with 55 additions and 6 deletions

View File

@@ -16,11 +16,8 @@
*/
#include "common.h"
#include "gtest/gtest.h"
extern "C" {
#include "sha256.h"
}
#include "gtest/gtest.h"
namespace p2pool {
@@ -28,7 +25,7 @@ TEST(sha256, hashing)
{
auto check = [](const char* input, const char* output) {
hash h;
sha256(input, strlen(input), h.h);
sha256(input, static_cast<uint32_t>(strlen(input)), h.h);
char buf[128];
log::Stream s(buf);