Merge pull request #1543 from Neozonz/issue-1542
[BUG] FIX txfee in getpoolinfo API
This commit is contained in:
commit
7acd3bc821
@ -22,10 +22,14 @@ $data = array(
|
|||||||
'stratumport' => $config[gettingstarted][stratumport],
|
'stratumport' => $config[gettingstarted][stratumport],
|
||||||
// payments
|
// payments
|
||||||
'payout_system' => $config[payout_system],
|
'payout_system' => $config[payout_system],
|
||||||
|
'confirmations' => $config['confirmations'],
|
||||||
'min_ap_threshold' => $config[ap_threshold][min],
|
'min_ap_threshold' => $config[ap_threshold][min],
|
||||||
'max_ap_threshold' => $config[ap_threshold][max],
|
'max_ap_threshold' => $config[ap_threshold][max],
|
||||||
'txfee' => $config[txfee],
|
// backwards compatibility for old API calls
|
||||||
'fees' => $config[fees],
|
'txfee' => $config['txfee_manual'],
|
||||||
|
'txfee_manual' => $config['txfee_manual'],
|
||||||
|
'txfee_auto' => $config['txfee_auto'],
|
||||||
|
'fees' => $config[fees]
|
||||||
);
|
);
|
||||||
|
|
||||||
echo $api->get_json($data);
|
echo $api->get_json($data);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user