Skip to content

Commit

Permalink
move zeta tx hash to log field
Browse files Browse the repository at this point in the history
  • Loading branch information
ws4charlie committed Nov 25, 2024
1 parent 74778b0 commit 5f46375
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zetaclient/chains/bitcoin/signer/signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,8 @@ func (signer *Signer) TryProcessOutbound(
if err != nil {
logger.Err(err).Fields(lf).Msgf("Unable to add Bitcoin outbound tracker")

Check warning on line 486 in zetaclient/chains/bitcoin/signer/signer.go

View check run for this annotation

Codecov / codecov/patch

zetaclient/chains/bitcoin/signer/signer.go#L486

Added line #L486 was not covered by tests
}
logger.Info().Msgf("Add Bitcoin outbound tracker successfully %s", zetaHash)
lf[logs.FieldZetaTx] = zetaHash
logger.Info().Fields(lf).Msgf("Add Bitcoin outbound tracker successfully")

Check warning on line 489 in zetaclient/chains/bitcoin/signer/signer.go

View check run for this annotation

Codecov / codecov/patch

zetaclient/chains/bitcoin/signer/signer.go#L488-L489

Added lines #L488 - L489 were not covered by tests

// Save successfully broadcasted transaction to btc chain observer
btcObserver.SaveBroadcastedTx(outboundHash, outboundTssNonce)
Expand Down

0 comments on commit 5f46375

Please sign in to comment.