Browse Source

test

acspeed
jl777 8 years ago
parent
commit
da68f3fdda
  1. 2
      iguana/dpow/dpow_rpc.c
  2. 2
      iguana/iguana_notary.c

2
iguana/dpow/dpow_rpc.c

@ -553,7 +553,7 @@ uint64_t PAX_fiatdest(uint64_t *seedp,int32_t tokomodo,char *destaddr,uint8_t pu
{ {
uint8_t shortflag=0; char base[4]; int32_t i; uint8_t addrtype,rmd160[20]; int64_t komodoshis=0; uint8_t shortflag=0; char base[4]; int32_t i; uint8_t addrtype,rmd160[20]; int64_t komodoshis=0;
for (i=0; i<3; i++) for (i=0; i<3; i++)
base[i] = toupper(origbase[i]); base[i] = toupper((int32_t)origbase[i]);
base[i] = 0; base[i] = 0;
if ( strcmp(base,"KMD") == 0 ) if ( strcmp(base,"KMD") == 0 )
return(0); return(0);

2
iguana/iguana_notary.c

@ -347,7 +347,7 @@ STRING_ARG(dpow,pending,fiat)
if ( fiat != 0 && fiat[0] != 0 ) if ( fiat != 0 && fiat[0] != 0 )
{ {
for (i=0; fiat[i]!=0; i++) for (i=0; fiat[i]!=0; i++)
base[i] = toupper(fiat[i]); base[i] = toupper((int32_t)fiat[i]);
base[i] = 0; base[i] = 0;
for (i=0; i<myinfo->numdpows; i++) for (i=0; i<myinfo->numdpows; i++)
{ {

Loading…
Cancel
Save