Skip to content

Commit

Permalink
Removed logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrz1836 committed Oct 27, 2020
1 parent 7a2c059 commit ebbc465
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hd_key_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package bitcoin
import (
"encoding/hex"
"fmt"
"log"
"testing"

"github.com/bitcoinsv/bsvd/bsvec"
Expand Down Expand Up @@ -1056,7 +1055,8 @@ func ExampleGetHDKeyFromExtendedPublicKey() {
// Convert to a HD key
key, err := GetHDKeyFromExtendedPublicKey(xPub)
if err != nil {
log.Fatalf("error occurred: %s", err.Error())
fmt.Printf("error occurred: %s", err.Error())
return
}

fmt.Printf("key: %s", key.String())
Expand Down
2 changes: 0 additions & 2 deletions pubkey.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package bitcoin
import (
"encoding/hex"
"errors"
"log"

"github.com/bitcoinsv/bsvd/bsvec"
)
Expand Down Expand Up @@ -34,7 +33,6 @@ func PubKeyFromString(pubKey string) (*bsvec.PublicKey, error) {
// Decode from hex string
decoded, err := hex.DecodeString(pubKey)
if err != nil {
log.Println("log", err.Error())
return nil, err
}

Expand Down

0 comments on commit ebbc465

Please sign in to comment.