From dd28b593d08a1f37ee5f512346e6b889212c29cd Mon Sep 17 00:00:00 2001 From: Gkirito Date: Sun, 14 Apr 2024 09:59:57 +0800 Subject: [PATCH] fix(core/btc/rune): fix mint tx index err --- core/btc/runes/runestone.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/btc/runes/runestone.go b/core/btc/runes/runestone.go index 797a287..0657af3 100644 --- a/core/btc/runes/runestone.go +++ b/core/btc/runes/runestone.go @@ -167,7 +167,7 @@ func Decipher(transaction *wire.MsgTx) (Artifact, error) { if len(b) != 2 || b[0].BitLen() > 64 || b[1].BitLen() > 32 { return nil } - return &RuneId{Block: b[0].Uint64(), Tx: uint32(b[0].Uint64())} + return &RuneId{Block: b[0].Uint64(), Tx: uint32(b[1].Uint64())} }) pointer := runestone.Take[uint32](runestone.Pointer, message.Fields, 1, func(b ...big.Int) *uint32 {