From ed43fa4ec744f47d30eeb1348aff37d36f4a279b Mon Sep 17 00:00:00 2001 From: DevinZeng Date: Fri, 20 Dec 2024 18:56:40 +0800 Subject: [PATCH] fix issue #6 --- runstone.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runstone.go b/runstone.go index 4b032ad..9f72ff9 100644 --- a/runstone.go +++ b/runstone.go @@ -324,7 +324,7 @@ func (r *Runestone) Encipher() ([]byte, error) { if edicts[i].ID.Block < (edicts[j].ID.Block) { return true } - if edicts[i].ID.Block == edicts[j].ID.Block && edicts[i].ID.Block < edicts[j].ID.Block { + if edicts[i].ID.Block == edicts[j].ID.Block && edicts[i].ID.Tx < edicts[j].ID.Tx { return true } return false