This commit is contained in:
Duke Leto
2021-08-26 00:08:37 -04:00
parent d8d9f655a7
commit e424a997a7
6 changed files with 16 additions and 16 deletions

View File

@@ -650,7 +650,7 @@ uint64_t komodo_paxprice(uint64_t *seedp,int32_t height,char *base,char *rel,uin
}
return(0);
}
*seedp = komodo_seed(height);
*seedp = hush_seed(height);
portable_mutex_lock(&hush_mutex);
for (i=0; i<17; i++)
{
@@ -725,7 +725,7 @@ void komodo_paxpricefeed(int32_t height,uint8_t *pricefeed,int32_t opretlen)
uint64_t PAX_fiatdest(uint64_t *seedp,int32_t tokomodo,char *destaddr,uint8_t pubkey33[33],char *coinaddr,int32_t height,char *origbase,int64_t fiatoshis)
{
uint8_t shortflag = 0; char base[4]; int32_t i,baseid; uint8_t addrtype,rmd160[20]; int64_t komodoshis = 0;
*seedp = komodo_seed(height);
*seedp = hush_seed(height);
if ( (baseid= hush_baseid(origbase)) < 0 || baseid == MAX_CURRENCIES )
{
if ( 0 && origbase[0] != 0 )