Browse Source

Remove unused code

pull/384/head
Duke 5 months ago
parent
commit
d8840beb3b
  1. 13
      src/hush_bitcoind.h

13
src/hush_bitcoind.h

@ -1726,18 +1726,7 @@ int32_t hush_checkPOW(int32_t slowflag,CBlock *pblock,int32_t height)
if ( (SMART_CHAIN_SYMBOL[0] != 0) && bhash > bnTarget ) {
failed = 1;
if ( height > 0 && SMART_CHAIN_SYMBOL[0] == 0 ) // for the fast case
{
if ( (n= hush_notaries(pubkeys,height,pblock->nTime)) > 0 )
{
for (i=0; i<n; i++)
if ( memcmp(pubkey33,pubkeys[i],33) == 0 )
{
notaryid = i;
break;
}
}
} else if ( possible == 0 || SMART_CHAIN_SYMBOL[0] != 0 ) {
if ( possible == 0 || SMART_CHAIN_SYMBOL[0] != 0 ) {
if ( HUSH_TEST_ASSETCHAIN_SKIP_POW )
return(0);
if ( ASSETCHAINS_STAKED == 0 )

Loading…
Cancel
Save