diff --git a/test/NanoRPC.php b/test/NanoRPC.php index f829585..49d7166 100644 --- a/test/NanoRPC.php +++ b/test/NanoRPC.php @@ -20,14 +20,14 @@ // # API v2 -$nanorpc2 = new php4nano\NanoRPC('localhost', 7076, 'api/v2'); +$nanorpc = new php4nano\NanoRPC('localhost', 7076, 'api/v2'); -$nanorpc2->setAPI(2); +$nanorpc->setAPI(2); $t0 = microtime(true); -$nanorpc2->AccountWeight(['account' => $account]); +$nanorpc->AccountWeight(['account' => $account]); echo 'Time v2: ' . (microtime(true) - $t0) . PHP_EOL; -var_dump($nanorpc2); +var_dump($nanorpc);