[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],
|
||||
// payments
|
||||
'payout_system' => $config[payout_system],
|
||||
'confirmations' => $config['confirmations'],
|
||||
'min_ap_threshold' => $config[ap_threshold][min],
|
||||
'max_ap_threshold' => $config[ap_threshold][max],
|
||||
'txfee' => $config[txfee],
|
||||
'fees' => $config[fees],
|
||||
// backwards compatibility for old API calls
|
||||
'txfee' => $config['txfee_manual'],
|
||||
'txfee_manual' => $config['txfee_manual'],
|
||||
'txfee_auto' => $config['txfee_auto'],
|
||||
'fees' => $config[fees]
|
||||
);
|
||||
|
||||
echo $api->get_json($data);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user