[#712] moprh/client: Log VUB in notary invocations

For easier debug when notary transaction didn't execute.

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
remotes/fyrchik/meta-pebble
Alex Vanin 2021-07-22 15:36:40 +03:00 committed by Alex Vanin
parent 9aa6ab4fc9
commit 3561cf5873
1 changed files with 2 additions and 0 deletions

View File

@ -317,6 +317,8 @@ func (c *Client) notaryInvoke(committee bool, contract util.Uint160, method stri
c.logger.Debug("notary request invoked",
zap.String("method", method),
zap.Uint32("valid_until_block", until),
zap.Uint32("fallback_valid_for", c.notary.fallbackTime),
zap.Stringer("tx_hash", resp.Hash().Reverse()))
return nil