Skip to content

Commit

Permalink
debug for account
Browse files Browse the repository at this point in the history
  • Loading branch information
Geapefurit committed Jun 24, 2024
1 parent 9d69a2c commit ff6cdce
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/coins/btc/sign/sign.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package sign
import (
"context"
"encoding/json"
"fmt"

"github.com/NpoolPlatform/go-service-framework/pkg/oss"
"github.com/NpoolPlatform/sphinx-plugin/pkg/coins"
Expand Down Expand Up @@ -52,7 +51,6 @@ func createAccount(ctx context.Context, in []byte, tokenInfo *coins.TokenInfo) (
if err != nil {
return nil, err
}
fmt.Println("ssssssssssssssssssss", info.ENV)
addressSH, err := btcutil.NewAddressScriptHash(
wif.PrivKey.PubKey().SerializeCompressed(),
btc.BTCNetMap[info.ENV],
Expand All @@ -64,7 +62,7 @@ func createAccount(ctx context.Context, in []byte, tokenInfo *coins.TokenInfo) (
addr := addressSH.EncodeAddress()

_out := ct.NewAccountResponse{
Address: "addr1111111111111111111111",
Address: addr,
}

out, err = json.Marshal(_out)
Expand Down

0 comments on commit ff6cdce

Please sign in to comment.