Skip to content

Commit

Permalink
debug: sigs
Browse files Browse the repository at this point in the history
  • Loading branch information
DhananjayPurohit committed Dec 21, 2023
1 parent ced9634 commit f63feeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion attestation/attestservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ func (s *AttestService) doStateSignAttestation() {
lastCommitmentHash = chainhash.Hash{}
}

log.Infof("sigs %x ", sigs[0][0])
log.Infof("sigs %T ", sigs[0][0])
// sign attestation with combined sigs and last commitment
signedTx, signErr := s.attester.signAttestation(&s.attestation.Tx, sigs, lastCommitmentHash)
log.Infoln("sign")
Expand Down
1 change: 1 addition & 0 deletions attestation/attestsigner_fake.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ func (f AttestSignerFake) GetSigs(txHash string, redeem_script string, merkle_ro
txPreImages := UnserializeBytes(signerTxPreImageBytesFake)

sigs := make([][]crypto.Sig, len(txPreImages)) // init sigs
log.Infof("sigs len %d", len(sigs))

// get sigs from each client
for _, client := range f.clients {
Expand Down

0 comments on commit f63feeb

Please sign in to comment.