Skip to content

Commit

Permalink
Merge pull request #137 from MinterTeam/rc
Browse files Browse the repository at this point in the history
update log
  • Loading branch information
daniildulin authored Jul 29, 2021
2 parents a099c28 + b62b438 commit 3af6e83
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions liquidity_pool/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,9 @@ func (s *Service) LiquidityPoolWorker(data <-chan *api_pb.BlockResponse) {
txData := new(api_pb.SendData)
if err := tx.Data.UnmarshalTo(txData); err != nil {
s.logger.WithFields(logrus.Fields{
"block": b.Height,
"tx": tx.RawTx,
"coinId": txData.Coin.Id,
"block": b.Height,
"tx": tx.RawTx,
}).Error(err)
continue
}
Expand All @@ -161,8 +162,9 @@ func (s *Service) LiquidityPoolWorker(data <-chan *api_pb.BlockResponse) {
lp, err := s.Storage.getLiquidityPoolByTokenId(txData.Coin.Id)
if err != nil {
s.logger.WithFields(logrus.Fields{
"block": b.Height,
"tx": tx.RawTx,
"coinId": txData.Coin.Id,
"block": b.Height,
"tx": tx.RawTx,
}).Error(err)
continue
}
Expand Down

0 comments on commit 3af6e83

Please sign in to comment.