remove printing of tokenboardclientapp struct
This commit is contained in:
parent
4859a90d02
commit
3cc839cd45
|
@ -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
|
// MakePayment uses the PoW based token protocol to obtain more tokens
|
||||||
func (ta *TokenBoardClient) MakePayment() error {
|
func (ta *TokenBoardClient) MakePayment() error {
|
||||||
log.Debugf("Making a Payment %v", ta)
|
log.Debugf("Making a Payment")
|
||||||
id, sk := primitives.InitializeEphemeralIdentity()
|
id, sk := primitives.InitializeEphemeralIdentity()
|
||||||
client := new(tor.BaseOnionService)
|
client := new(tor.BaseOnionService)
|
||||||
client.Init(ta.acn, sk, &id)
|
client.Init(ta.acn, sk, &id)
|
||||||
|
@ -201,7 +201,7 @@ func (ta *TokenBoardClient) MakePayment() error {
|
||||||
conn.Close()
|
conn.Close()
|
||||||
return nil
|
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")
|
return errors.New("invalid cast of powapp. this should never happen")
|
||||||
}
|
}
|
||||||
log.Debugf("could not connect to payment server %v..trying again")
|
log.Debugf("could not connect to payment server %v..trying again")
|
||||||
|
|
Loading…
Reference in New Issue