Improvements here and there about notary deposits. #184

Merged
fyrchik merged 4 commits from carpawell/frostfs-node:fix/notary-deposit into master 2023-03-29 10:34:55 +00:00
Showing only changes of commit d441cadd1f - Show all commits

View file

@ -202,7 +202,7 @@ func (c *Client) depositNotary(amount fixedn.Fixed8, till int64) (res util.Uint2
// Transaction is already in mempool waiting to be processed. // Transaction is already in mempool waiting to be processed.
// This is an expected situation if we restart the service. // This is an expected situation if we restart the service.
c.logger.Debug("notary deposit has already been made", c.logger.Info("notary deposit has already been made",
zap.Int64("amount", int64(amount)), zap.Int64("amount", int64(amount)),
zap.Int64("expire_at", till), zap.Int64("expire_at", till),
zap.Uint32("vub", vub), zap.Uint32("vub", vub),
@ -210,7 +210,7 @@ func (c *Client) depositNotary(amount fixedn.Fixed8, till int64) (res util.Uint2
return util.Uint256{}, nil return util.Uint256{}, nil
} }
c.logger.Debug("notary deposit invoke", c.logger.Info("notary deposit invoke",
zap.Int64("amount", int64(amount)), zap.Int64("amount", int64(amount)),
zap.Int64("expire_at", till), zap.Int64("expire_at", till),
zap.Uint32("vub", vub), zap.Uint32("vub", vub),