Browse Source

Merge pull request #205 from jl777/dev

test
win-cross
jl777 8 years ago
committed by GitHub
parent
commit
20fa2330de
  1. 2
      iguana/iguana_notary.c

2
iguana/iguana_notary.c

@ -489,7 +489,7 @@ STRING_AND_INT(dpow,fundnotaries,symbol,numblocks)
{ {
if ( (val= vals[j]) > 0. ) if ( (val= vals[j]) > 0. )
{ {
bitcoin_address(coinaddr,60,pubkeys[j],33); bitcoin_address(coinaddr,0,pubkeys[j],33);
sprintf(cmd,"bitcoin-cli sendtoaddress %s %f\n",coinaddr,val); sprintf(cmd,"bitcoin-cli sendtoaddress %s %f\n",coinaddr,val);
if ( sendflag != 0 && system(cmd) != 0 ) if ( sendflag != 0 && system(cmd) != 0 )
printf("ERROR with (%s)\n",cmd); printf("ERROR with (%s)\n",cmd);

Loading…
Cancel
Save