[#324] ir/alphabet: Write error of TransferGas call to log

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
Leonard Lyubich 2021-01-25 15:56:53 +03:00 committed by Alex Vanin
parent a6517bc877
commit 96f750d9c8

View file

@ -67,7 +67,9 @@ func (np *Processor) processEmit() {
if err != nil { if err != nil {
np.log.Warn("can't transfer gas", np.log.Warn("can't transfer gas",
zap.String("receiver", key.Address()), zap.String("receiver", key.Address()),
zap.Int64("amount", int64(gasPerNode))) zap.Int64("amount", int64(gasPerNode)),
zap.String("error", err.Error()),
)
} }
} }
} }