Update files to use class constructor parentheses

This commit is contained in:
pxgamer
2018-05-29 15:50:30 +01:00
parent c6393d7e8d
commit 2f4e95f22d
8 changed files with 201 additions and 130 deletions

View File

@@ -276,7 +276,7 @@ if ($q == "getAddress") {
* @apiSuccess {string} private_key Private key
*/
$acc = new Account;
$acc = new Account();
$res = $acc->generate_account();
api_echo($res);
} elseif ($q == "currentBlock") {
@@ -391,10 +391,10 @@ if ($q == "getAddress") {
api_err("Hard fork in progress. Please retry the transaction later!"); //10800
}
$acc = new Account;
$block = new Block;
$acc = new Account();
$block = new Block();
$trx = new Transaction;
$trx = new Transaction();
$dst = san($data['dst']);