Skip to content

Commit

Permalink
commented the print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
nitronit committed May 6, 2022
1 parent 307072f commit 592aaea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 14 deletions.
11 changes: 6 additions & 5 deletions signer/local_cosigner.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package signer

import (
"crypto/rsa"
"fmt"
"time"

tmCryptoEd25519 "github.com/tendermint/tendermint/crypto/ed25519"
Expand Down Expand Up @@ -125,11 +124,13 @@ func NewLocalCosigner(cfg LocalCosignerConfig) *LocalCosigner {
address: cfg.Address,
localsigner: &localsigner,
}
fmt.Println("\n", "LocalCosigner")
fmt.Printf("%+v\n", cosigner)

fmt.Println("\n", "Local Signer")
fmt.Printf("%+v\n", cosigner.localsigner)
//TODO: Delete this print statements:
//fmt.Println("\n", "LocalCosigner")
//fmt.Printf("%+v\n", cosigner)

//fmt.Println("\n", "Local Signer")
//fmt.Printf("%+v\n", cosigner.localsigner)

for _, peer := range cfg.Peers {
cosigner.localsigner.Peers[peer.ID] = peer
Expand Down
9 changes: 0 additions & 9 deletions signer/threshold_validator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,6 @@ func TestThresholdValidator2of2(t *testing.T) {

signBytes := tm.ProposalSignBytes("chain-id", &proposal)

/*
empJSON_1, err := json.MarshalIndent(cosigner1, "", " ")
fmt.Printf("%s\n", string(empJSON_1))
fmt.Printf("%+v\n", cosigner1)
empJSON_2, err := json.MarshalIndent(cosigner2, "", " ")
fmt.Println("\n", "Cosigner2")
*/
fmt.Println("\n", "Cosigner1")
fmt.Printf("%+v\n", cosigner1)

Expand Down

0 comments on commit 592aaea

Please sign in to comment.