@@ -60,11 +60,6 @@ public static function init(ConnectorInterface $connector)
60
60
$ commandQueryData ,
61
61
'result '
62
62
);
63
- // $properties = [
64
- // 'head_block_number' => 17851646,
65
- // 'last_irreversible_block_num' => 17851627,
66
- // 'time' => '2017-12-06T15:29:00',
67
- // ];
68
63
69
64
if (self ::CHAIN_GOLOS === $ chainName ) {
70
65
$ blockId = $ properties ['head_block_number ' ] - 2 ;
@@ -108,12 +103,6 @@ public static function init(ConnectorInterface $connector)
108
103
if (!($ tx instanceof CommandQueryDataInterface)) {
109
104
throw new \Exception ('cant init Tx ' );
110
105
}
111
- // $properties2 = [
112
- // 'ref_block_num' => '25851',
113
- // 'ref_block_prefix' => '677597376',
114
- // 'expiration' => '2017-12-06T15:30:00.000',
115
- // ];
116
- // echo '<pre>' . var_dump($tx->getParams(), $properties2) . '<pre>'; //FIXME delete it
117
106
118
107
return $ tx ;
119
108
}
@@ -132,15 +121,6 @@ public static function getTxMsg($chainName, CommandQueryDataInterface $trxData)
132
121
$ serBuffer = OperationSerializer::serializeTransaction ($ trxParams , new ByteBuffer ());
133
122
$ serializedTx = self ::getChainId ($ chainName ) . bin2hex ($ serBuffer ->read (0 , $ serBuffer ->length ()));
134
123
135
- // echo "\n" . var_dump(
136
- // '$serializedTx'
137
- // ); //FIXME delete it
138
- // echo "\n" . var_dump(
139
- // $serializedTx,
140
- // '0000000000000000000000000000000000000000000000000000000000000000fb64c0506328f80c285a01000867756573743132330966697265706f77657254737465656d69742d76656e692d766964692d766963692d737465656d666573742d323031362d746f6765746865722d77652d6d6164652d69742d68617070656e2d7468616e6b2d796f752d737465656d69616e73102700',
141
- // $serializedTx === '0000000000000000000000000000000000000000000000000000000000000000fb64c0506328f80c285a01000867756573743132330966697265706f77657254737465656d69742d76656e692d766964692d766963692d737465656d666573742d323031362d746f6765746865722d77652d6d6164652d69742d68617070656e2d7468616e6b2d796f752d737465656d69616e73102700'
142
- // ); //FIXME delete it
143
-
144
124
return $ serializedTx ;
145
125
}
146
126
0 commit comments