This commit is contained in:
jl777
2019-07-06 03:05:04 -11:00
parent 64915ad6d2
commit 6db0b511b9
2 changed files with 3 additions and 3 deletions

View File

@@ -40,12 +40,12 @@ struct NSPV_ntzsproofresp
uint8_t *prevntz,*nextntz;
};*/
int32_t NSPV_validatehdrs(struct NSPV_ntzsproofresult *ptr)
int32_t NSPV_validatehdrs(struct NSPV_ntzsproofresp *ptr)
{
int32_t i;
// verify nextntz is valid notarization
// validate blockhash of lasthdr with nextntz value, and height
for (i=numhdrs-1; i>0; i--)
for (i=ptr->common.numhdrs-1; i>0; i--)
{
// make sure the hash of i-1 matches the prevBlockhash of i
}