renamed method
This commit is contained in:
parent
cbfcff3ba1
commit
1f58a1e152
@ -21,5 +21,5 @@ limitations under the License.
|
||||
// Include all settings and classes
|
||||
require_once('shared.inc.php');
|
||||
|
||||
// UPDATE ledger AS l INNER JOIN blocks as b ON l.assocBlock = b.height SET l.confirmed = 1 WHERE b.confirmations > 120 AND l.confirmed = 0;
|
||||
$ledger->confirmTransactions();
|
||||
// Confirm any outstanding credits
|
||||
$ledger->confirmCredits();
|
||||
|
||||
@ -24,8 +24,7 @@ class Ledger {
|
||||
return $this->sError;
|
||||
}
|
||||
|
||||
public function confirmTransactions() {
|
||||
// Confirm all outstanding transactions
|
||||
public function confirmCredits() {
|
||||
$stmt = $this->mysqli->prepare("UPDATE
|
||||
ledger AS l
|
||||
INNER JOIN blocks as b ON l.assocBlock = b.height
|
||||
|
||||
Loading…
Reference in New Issue
Block a user