mirror of
https://github.com/alexgo-io/gaze-brc20-indexer.git
synced 2026-01-12 22:22:19 +08:00
fix: remove wrong incomplete field check
This commit is contained in:
@@ -177,11 +177,6 @@ func envelopeFromTokenizer(tokenizer txscript.ScriptTokenizer, inputIndex int, o
|
|||||||
key := chunk[0]
|
key := chunk[0]
|
||||||
value := chunk[1]
|
value := chunk[1]
|
||||||
// key cannot be empty, as checked by bodyIndex above
|
// key cannot be empty, as checked by bodyIndex above
|
||||||
// if key exceeds 1 byte, it would not match any tags
|
|
||||||
if len(key) > 1 {
|
|
||||||
incompleteField = true
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
tag := Tag(key[0])
|
tag := Tag(key[0])
|
||||||
fields[tag] = append(fields[tag], value)
|
fields[tag] = append(fields[tag], value)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user