Skip to content

Commit

Permalink
upd commands namespace
Browse files Browse the repository at this point in the history
move from Broadcast to Single
  • Loading branch information
t3ran13 committed Apr 2, 2018
1 parent 7bef094 commit 8d94c73
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Tools/ChainOperations/OpComment.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace GrapheneNodeClient\Tools\ChainOperations;

use GrapheneNodeClient\Commands\Broadcast\BroadcastTransactionCommand;
use GrapheneNodeClient\Commands\Broadcast\BroadcastTransactionSynchronousCommand;
use GrapheneNodeClient\Commands\Single\BroadcastTransactionCommand;
use GrapheneNodeClient\Commands\Single\BroadcastTransactionSynchronousCommand;
use GrapheneNodeClient\Commands\CommandQueryData;
use GrapheneNodeClient\Connectors\ConnectorInterface;
use GrapheneNodeClient\Tools\Transaction;
Expand Down
4 changes: 2 additions & 2 deletions Tools/ChainOperations/OpTransfer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace GrapheneNodeClient\Tools\ChainOperations;

use GrapheneNodeClient\Commands\Broadcast\BroadcastTransactionCommand;
use GrapheneNodeClient\Commands\Broadcast\BroadcastTransactionSynchronousCommand;
use GrapheneNodeClient\Commands\Single\BroadcastTransactionCommand;
use GrapheneNodeClient\Commands\Single\BroadcastTransactionSynchronousCommand;
use GrapheneNodeClient\Commands\CommandQueryData;
use GrapheneNodeClient\Connectors\ConnectorInterface;
use GrapheneNodeClient\Tools\Transaction;
Expand Down
6 changes: 3 additions & 3 deletions Tools/ChainOperations/OpVote.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace GrapheneNodeClient\Tools\ChainOperations;

use GrapheneNodeClient\Commands\Broadcast\BroadcastTransactionCommand;
use GrapheneNodeClient\Commands\Broadcast\BroadcastTransactionSynchronousCommand;
use GrapheneNodeClient\Commands\Single\BroadcastTransactionCommand;
use GrapheneNodeClient\Commands\Single\BroadcastTransactionSynchronousCommand;
use GrapheneNodeClient\Commands\CommandQueryData;
use GrapheneNodeClient\Connectors\ConnectorInterface;
use GrapheneNodeClient\Tools\Auth;
Expand Down Expand Up @@ -42,7 +42,7 @@ public static function do(ConnectorInterface $connector, $voter, $publicWif, $au

$command = new BroadcastTransactionCommand($connector);//// echo '<pre>' . var_dump($commandQueryData->getParams(), $properties2) . '<pre>'; die; //FIXME delete it
Transaction::sign($chainName, $tx, ['posting' => $publicWif]);
// echo '<pre>' . var_dump($tx->getParams()) . '<pre>'; //FIXME delete it

$answer = $command->execute(
$tx
);
Expand Down

0 comments on commit 8d94c73

Please sign in to comment.