You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by ro...@apache.org on 2024/11/06 13:19:36 UTC

(incubator-answer-plugins) 02/06: fix remove debug code

This is an automated email from the ASF dual-hosted git repository.

robin0716 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer-plugins.git

commit e8f534de8936b53811f52cf8773a994f5b24fd5b
Author: Lucifer <82...@163.com>
AuthorDate: Tue Oct 22 12:16:37 2024 +0800

    fix remove debug code
---
 connector-wallet/wallet.go | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/connector-wallet/wallet.go b/connector-wallet/wallet.go
index 8552b7e..2716c99 100644
--- a/connector-wallet/wallet.go
+++ b/connector-wallet/wallet.go
@@ -98,7 +98,6 @@ func (g *Connector) ConfigReceiver(config []byte) error {
 }
 
 func (g *Connector) guaranteeEmail(email string, accessToken string) string {
-	pp("=====>", email, accessToken)
 	return email
 }
 
@@ -123,9 +122,3 @@ func verifySignature(message, signature, address string) bool {
 	recoveredAddr := crypto.PubkeyToAddress(*pubKey)
 	return strings.ToLower(recoveredAddr.Hex()) == strings.ToLower(address)
 }
-
-func pp(params ...interface{}) {
-	for index, param := range params {
-		fmt.Printf("index (%d) param (%v) \n", index, param)
-	}
-}