This commit is contained in:
jl777
2019-03-29 06:19:33 -11:00
parent b7cf1a57e9
commit 3b4a6191f9

View File

@@ -1987,9 +1987,6 @@ void komodo_cbopretupdate()
if ( get_btcusd(pricebits) == 0 ) if ( get_btcusd(pricebits) == 0 )
{ {
memcpy(Mineropret.data(),pricebits,PRICES_SIZEBIT0); memcpy(Mineropret.data(),pricebits,PRICES_SIZEBIT0);
int32_t i; for (i=0; i<Mineropret.size(); i++)
fprintf(stderr,"%02x",Mineropret[i]);
fprintf(stderr," <- set Mineropret[%d]\n",(int32_t)Mineropret.size());
} }
if ( (ASSETCHAINS_CBOPRET & 2) != 0 ) if ( (ASSETCHAINS_CBOPRET & 2) != 0 )
{ {
@@ -2006,6 +2003,9 @@ void komodo_cbopretupdate()
memcpy(&Mineropret.data()[size],cryptoprices,sizeof(cryptoprices)); memcpy(&Mineropret.data()[size],cryptoprices,sizeof(cryptoprices));
size += sizeof(cryptoprices); size += sizeof(cryptoprices);
} }
int32_t i; for (i=0; i<Mineropret.size(); i++)
fprintf(stderr,"%02x",Mineropret[i]);
fprintf(stderr," <- set Mineropret[%d]\n",(int32_t)Mineropret.size());
/* /*
if ( (ASSETCHAINS_CBOPRET & 4) != 0 ) if ( (ASSETCHAINS_CBOPRET & 4) != 0 )
{ {