test again
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include "notarisationdb.h"
|
||||
//#include "notaries_STAKED.h"
|
||||
|
||||
const char *notaries_STAKED[][2] =
|
||||
const char *notaries_STAKEDcc[][2] =
|
||||
{
|
||||
{"alright", "03b4f49a1c22087e0a9dfaa87aef98ef496c544f9f86038f6c9fea4550543a7679"},
|
||||
{"test1", "0323b1271dceb046a91e79bf80fc5874fb51b9a5ad572c50ca5f58ee9444b32965"},
|
||||
@@ -67,10 +67,10 @@ bool CheckTxAuthority(const CTransaction &tx, CrosschainAuthority auth)
|
||||
|
||||
const CrosschainAuthority auth_STAKED = [&](){
|
||||
CrosschainAuthority auth;
|
||||
auth.size = (int32_t)(sizeof(notaries_STAKED)/sizeof(*notaries_STAKED));
|
||||
auth.size = (int32_t)(sizeof(notaries_STAKEDcc)/sizeof(*notaries_STAKEDcc));
|
||||
auth.requiredSigs = (auth.size/5);
|
||||
for (int n=0; n<auth.size; n++)
|
||||
for (size_t i=0; i<33; i++)
|
||||
sscanf(notaries_STAKED[n][1]+(i*2), "%2hhx", auth.notaries[n]+i);
|
||||
sscanf(notaries_STAKEDcc[n][1]+(i*2), "%2hhx", auth.notaries[n]+i);
|
||||
return auth;
|
||||
}();
|
||||
|
||||
Reference in New Issue
Block a user