mirror of
https://github.com/alexgo-io/gaze-brc20-indexer.git
synced 2026-05-01 04:53:09 +08:00
fix: remove fmt print
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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])
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user