[#170] morph/client: Print reversed hash in logs

JSON-RPC method takes reversed hash as an input so it is
better to output reveresed hash in logs.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
remotes/KirillovDenis/release/v0.21.1
Alex Vanin 2020-12-04 19:36:41 +03:00 committed by Alex Vanin
parent e2547f5bf8
commit 1486cc0e29
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ func (c *Client) Invoke(contract util.Uint160, fee util.Fixed8, method string, a
c.logger.Debug("neo client invoke",
zap.String("method", method),
zap.Stringer("tx_hash", txHash))
zap.Stringer("tx_hash", txHash.Reverse()))
return nil
}