|
|
@ -323,11 +323,11 @@ int64_t datachain_update(struct supernet_info *myinfo,int32_t ordered,struct igu |
|
|
|
if ( memcmp(rmd160,CRYPTO777_RMD160,20) == 0 ) |
|
|
|
{ |
|
|
|
crypto777_payment += value; |
|
|
|
printf("datachain_update crypto777 %.8f += %.8f\n",dstr(crypto777_payment),dstr(value)); |
|
|
|
//printf("datachain_update crypto777 %.8f += %.8f\n",dstr(crypto777_payment),dstr(value));
|
|
|
|
} |
|
|
|
else if ( crypto777_payment != 0 && (type == IGUANA_SCRIPT_OPRETURN || type == IGUANA_SCRIPT_3of3 || type == IGUANA_SCRIPT_2of2 || type == IGUANA_SCRIPT_1of1) ) |
|
|
|
{ |
|
|
|
printf("datachain_update opreturn\n"); |
|
|
|
//printf("datachain_update opreturn\n");
|
|
|
|
iguana_opreturn(myinfo,ordered,coin,timestamp,bp,crypto777_payment,height,hdrsi_unspentind,value,fileid,scriptpos,scriptlen); |
|
|
|
} else datachain_update_spend(myinfo,ordered,coin,timestamp,bp,height,txid,vout,rmd160,value); |
|
|
|
return(crypto777_payment); |
|
|
|