File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
client/src/main/java/jp/co/soramitsu/iroha/java Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ public static String toHex(byte[] b) {
238238 * @param transaction
239239 * @return lowercase hexstring
240240 */
241- public String toHexHash (TransactionOuterClass .Transaction transaction ) {
241+ public static String toHexHash (TransactionOuterClass .Transaction transaction ) {
242242 return DatatypeConverter .printHexBinary (hash (transaction )).toLowerCase ();
243243 }
244244
@@ -247,7 +247,7 @@ public String toHexHash(TransactionOuterClass.Transaction transaction) {
247247 * @param query
248248 * @return lowercase hexstring
249249 */
250- public String toHexHash (Queries .Query query ) {
250+ public static String toHexHash (Queries .Query query ) {
251251 return DatatypeConverter .printHexBinary (hash (query )).toLowerCase ();
252252 }
253253
@@ -256,7 +256,7 @@ public String toHexHash(Queries.Query query) {
256256 * @param block_v1
257257 * @return lowercase hexstring
258258 */
259- public String toHexHash (Block_v1 block_v1 ) {
259+ public static String toHexHash (Block_v1 block_v1 ) {
260260 return DatatypeConverter .printHexBinary (hash (block_v1 )).toLowerCase ();
261261 }
262262
@@ -265,7 +265,7 @@ public String toHexHash(Block_v1 block_v1) {
265265 * @param block
266266 * @return lowercase hexstring
267267 */
268- public String toHexHash (Block block ) {
268+ public static String toHexHash (Block block ) {
269269 return DatatypeConverter .printHexBinary (hash (block )).toLowerCase ();
270270 }
271271
You can’t perform that action at this time.
0 commit comments