diff --git a/src/komodo_notary.h b/src/komodo_notary.h index a106f8503..3c33d41cc 100644 --- a/src/komodo_notary.h +++ b/src/komodo_notary.h @@ -244,3 +244,30 @@ void komodo_init(int32_t height) komodo_stateupdate(0,0,0,0,zero,0,0,0,0,0,0,0,0,0); } } + +void komodo_assetchain_pubkeys(char *jsonstr) +{ + cJSON *array; int32_t i,n; uint8_t pubkeys[64][33]; char *hexstr; + memset(pubkeys,0,sizeof(pubkeys)); + if ( (array= cJSON_Parse(jsonstr)) != 0 ) + { + if ( (n= cJSON_GetArraySize(array)) > 0 ) + { + for (i=0; i 0 ) - { - for (i=0; i