Browse Source

set txfee based on settxfee

olddPoW
jl777 8 years ago
parent
commit
e3082bacf0
  1. 2
      iguana/iguana_payments.c

2
iguana/iguana_payments.c

@ -1331,6 +1331,8 @@ DOUBLE_ARG(bitcoinrpc,settxfee,amount)
return(clonestr("{\"error\":\"need to unlock wallet\"}"));
myinfo->expiration++;
coin->txfee_perkb = amount * SATOSHIDEN;
coin->txfee = coin->txfee_perkb / 3;
coin->chain->txfee = coin->txfee;
retjson = cJSON_CreateObject();
jadd(retjson,"result",jtrue());
return(jprint(retjson,1));

Loading…
Cancel
Save