Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Commit

Permalink
Update NanoRPC.php
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeRow committed Jun 30, 2020
1 parent 66fdc8d commit b820d62
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/NanoRPC.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

0 comments on commit b820d62

Please sign in to comment.