remove printing

This commit is contained in:
Haris Khan
2024-11-15 22:48:57 -05:00
parent 767b91df49
commit ddba94d6ae

View File

@ -163,24 +163,6 @@ func Test10K(t *testing.T) {
continue
}
/*
log.WithFields(logrus.Fields{
"peer_size": routerInfo.peer_size,
"addresses": routerInfo.addresses,
"published": routerInfo.published,
"router_identity": routerInfo.router_identity,
"options": routerInfo.options,
"signature": routerInfo.signature,
"size": routerInfo.size,
}).Debug("routerInfo") // For some reason, this freezes when attempting to print
*/
fmt.Printf("peer_size: %v\n", routerInfo.peer_size)
fmt.Printf("addresses: %v\n", routerInfo.addresses)
fmt.Printf("published: %v\n", routerInfo.published)
fmt.Printf("router_identity: %v\n", routerInfo.router_identity)
fmt.Printf("options: %v\n", routerInfo.options)
fmt.Printf("signature: %v\n", routerInfo.signature)
fmt.Printf("size: %v\n", routerInfo.size)
// Write the router info to the target directory
routerBytes, err := routerInfo.Bytes()
if err != nil {