diff --git a/pkg/morph/client/client.go b/pkg/morph/client/client.go index 9e3a1157e1..486b16f09e 100644 --- a/pkg/morph/client/client.go +++ b/pkg/morph/client/client.go @@ -343,7 +343,7 @@ func (c *Client) Invoke(contract util.Uint160, fee fixedn.Fixed8, method string, c.logger.Debug("neo client invoke", zap.String("method", method), zap.Uint32("vub", vub), - zap.Stringer("tx_hash", txHash.Reverse())) + zap.String("tx_hash", txHash.StringLE())) return nil } @@ -434,7 +434,7 @@ func (c *Client) TransferGas(receiver util.Uint160, amount fixedn.Fixed8) error c.logger.Debug("native gas transfer invoke", zap.String("to", receiver.StringLE()), - zap.Stringer("tx_hash", txHash.Reverse()), + zap.String("tx_hash", txHash.StringLE()), zap.Uint32("vub", vub)) return nil diff --git a/pkg/morph/client/notary.go b/pkg/morph/client/notary.go index a4605c7396..5aa1439c52 100644 --- a/pkg/morph/client/notary.go +++ b/pkg/morph/client/notary.go @@ -215,14 +215,14 @@ func (c *Client) depositNotary(amount fixedn.Fixed8, till int64) error { _, err = c.rpcActor.WaitSuccess(txHash, vub, nil) if err != nil { - return fmt.Errorf("waiting for %s TX (%d vub) to be persisted: %w", txHash.Reverse(), vub, err) + return fmt.Errorf("waiting for %s TX (%d vub) to be persisted: %w", txHash.StringLE(), vub, err) } c.logger.Debug("notary deposit invoke", zap.Int64("amount", int64(amount)), zap.Int64("expire_at", till), zap.Uint32("vub", vub), - zap.Stringer("tx_hash", txHash.Reverse())) + zap.String("tx_hash", txHash.StringLE())) return nil }