Browse Source

Test

etomic
jl777 8 years ago
parent
commit
17ec128da6
  1. 2
      basilisk/smartaddress.c

2
basilisk/smartaddress.c

@ -44,8 +44,10 @@ int32_t smartaddress(struct supernet_info *myinfo,bits256 *privkeyp,char *coinad
if ( memcmp(myinfo->smartaddrs[i].rmd160,rmd160,20) == 0 ) if ( memcmp(myinfo->smartaddrs[i].rmd160,rmd160,20) == 0 )
{ {
*privkeyp = myinfo->smartaddrs[i].privkey; *privkeyp = myinfo->smartaddrs[i].privkey;
printf("MATCHED %s\n",coinaddr);
return(i); return(i);
} }
printf("smartaddress cant find (%s) of %d\n",coinaddr,myinfo->numsmartaddrs);
return(-1); return(-1);
} }

Loading…
Cancel
Save