Skip to content

Commit

Permalink
Merge pull request #310 from ElementsProject/improve-csv-callback-log…
Browse files Browse the repository at this point in the history
…ging

txwatcher: improve logging in csvPassedCallback
  • Loading branch information
grubles authored Sep 9, 2024
2 parents 89d79f7 + 0ff7ed6 commit 78c9846
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion txwatcher/rpctxwatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ func (s *BlockchainRpcTxWatcher) HandleCsvTx(blockheight uint64) error {
}
err = s.csvPassedCallback(k)
if err != nil {
log.Infof("tx callback error %v", err)
log.Infof("csv passed callback err: %v. swap id: %s, tx id: %s, starting block height: %d",
err, k, v.TxId, v.StartingBlockHeight)
continue
}
toRemove = append(toRemove, k)
Expand Down

0 comments on commit 78c9846

Please sign in to comment.