File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 77use GrapheneNodeClient \Connectors \Http \SteemitHttpJsonRpcConnector ;
88use GrapheneNodeClient \Connectors \Http \VizHttpJsonRpcConnector ;
99use GrapheneNodeClient \Connectors \WebSocket \GolosWSConnector ;
10+ use GrapheneNodeClient \Connectors \WebSocket \VizWSConnector ;
1011
1112class InitConnector
1213{
@@ -15,8 +16,10 @@ class InitConnector
1516 */
1617 protected static $ connectors = [];
1718 protected static $ platforms = [
19+ ConnectorInterface::PLATFORM_VIZ ,
1820 ConnectorInterface::PLATFORM_GOLOS ,
19- ConnectorInterface::PLATFORM_STEEMIT
21+ ConnectorInterface::PLATFORM_STEEMIT ,
22+ ConnectorInterface::PLATFORM_WHALESHARES
2023 ];
2124
2225 public static function getConnector ($ platform )
@@ -26,7 +29,7 @@ public static function getConnector($platform)
2629 }
2730 if (!isset (self ::$ connectors [$ platform ])) {
2831 if ($ platform === ConnectorInterface::PLATFORM_VIZ ) {
29- self ::$ connectors [$ platform ] = new VizHttpJsonRpcConnector ();
32+ self ::$ connectors [$ platform ] = new VizWSConnector ();
3033 } elseif ($ platform === ConnectorInterface::PLATFORM_GOLOS ) {
3134 self ::$ connectors [$ platform ] = new GolosWSConnector ();
3235 } elseif ($ platform === ConnectorInterface::PLATFORM_STEEMIT ) {
You can’t perform that action at this time.
0 commit comments