Browse Source

remove printing of tokenboardclientapp struct

publicnameprefer
Sarah Jamie Lewis 1 month ago
parent
commit
3cc839cd45
  1. 4
      protocol/connections/tokenboardclientapp.go

4
protocol/connections/tokenboardclientapp.go

@ -171,7 +171,7 @@ func (ta *TokenBoardClient) Post(ct []byte, sig []byte) (bool, int) {
// MakePayment uses the PoW based token protocol to obtain more tokens
func (ta *TokenBoardClient) MakePayment() error {
log.Debugf("Making a Payment %v", ta)
log.Debugf("Making a Payment")
id, sk := primitives.InitializeEphemeralIdentity()
client := new(tor.BaseOnionService)
client.Init(ta.acn, sk, &id)
@ -201,7 +201,7 @@ func (ta *TokenBoardClient) MakePayment() error {
conn.Close()
return nil
}
log.Errorf("invalid cast of powapp. this should not happen %v %v", powtapp, reflect.TypeOf(conn.App()))
log.Errorf("invalid cast of powapp. this should never happen %v %v", powtapp, reflect.TypeOf(conn.App()))
return errors.New("invalid cast of powapp. this should never happen")
}
log.Debugf("could not connect to payment server %v..trying again")

Loading…
Cancel
Save