fix: remove fmt print

This commit is contained in:
Gaze
2024-05-29 16:28:05 +07:00
parent 4ae169218f
commit f0cb5d651b
3 changed files with 0 additions and 5 deletions

View File

@@ -28,8 +28,6 @@ var startingBlockData = map[common.Network]StartingBlockData{
BlessedInscriptionCount: 348020,
LostSats: 0, // TODO: need to check lost sats at block 779831
},
// Height: 767429, // inscriptions start block
// Hash: *utils.Must(chainhash.NewHashFromStr("00000000000000000002b35aef66eb15cd2b232a800f75a2f25cedca4cfe52c4")),
},
common.NetworkTestnet: {
Height: 2413342,

View File

@@ -30,7 +30,6 @@ var ErrInscriptionIdInvalidSeparator = fmt.Errorf("invalid inscription id: must
func NewInscriptionIdFromString(s string) (InscriptionId, error) {
parts := strings.SplitN(s, "i", 2)
if len(parts) != 2 {
fmt.Print(len(parts))
return InscriptionId{}, errors.WithStack(ErrInscriptionIdInvalidSeparator)
}
txHash, err := chainhash.NewHashFromStr(parts[0])

View File

@@ -1,7 +1,6 @@
package runes
import (
"fmt"
"log"
"slices"
"unicode/utf8"
@@ -335,7 +334,6 @@ func runestonePayloadFromTx(tx *types.Transaction) ([]byte, Flaws) {
continue
}
if err := tokenizer.Err(); err != nil {
fmt.Println(err.Error())
continue
}
if opCode := tokenizer.Opcode(); opCode != RUNESTONE_PAYLOAD_MAGIC_NUMBER {