From b820d628c42d090603ae333ac40185449d0cacf4 Mon Sep 17 00:00:00 2001 From: Mike Row <47996463+mikerow@users.noreply.github.com> Date: Tue, 30 Jun 2020 20:11:04 +0200 Subject: [PATCH] Update NanoRPC.php --- test/NanoRPC.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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);