Skip to content

Commit

Permalink
fixup! add log for revocation pk and local htlc pk.
Browse files Browse the repository at this point in the history
  • Loading branch information
ziggie1984 committed Jan 15, 2024
1 parent 809ea83 commit dbddbe4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/chantools/sweeptimelockmanual.go
Original file line number Diff line number Diff line change
Expand Up @@ -621,10 +621,10 @@ func bruteForceDelayPoint(delayBase, revBase, htlcBase *btcec.PublicKey,
}
commitPoint := input.ComputeCommitmentPoint(revPreimage[:])

log.Infof("RevocationPK(RIPEMD160): %v",
log.Infof("RevocationPK(RIPEMD160): %x",
btcutil.Hash160(input.DeriveRevocationPubkey(revBase, commitPoint).SerializeCompressed()))

log.Infof("LocalHTLCPK: %v",
log.Infof("LocalHTLCPK: %x",
btcutil.Hash160(input.TweakPubKey(htlcBase, commitPoint).SerializeCompressed()))

log.Infof("CommitPoint at ChanUpdate#%v", i)
Expand Down

0 comments on commit dbddbe4

Please sign in to comment.