[BUG] Fix txfee API call with added support for old API calls
[ADD] txfee_auto to API Calls [ADD] txfee_manual to API Calls [ADD] confirmations to API Calls
This commit is contained in:
parent
cde6227692
commit
7a21b05a3d
@ -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