Skip to content

Commit

Permalink
fix: add txids
Browse files Browse the repository at this point in the history
  • Loading branch information
pred695 committed Apr 14, 2024
1 parent d0b613a commit 859a783
Show file tree
Hide file tree
Showing 2 changed files with 3,358 additions and 3,356 deletions.
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ func main() {
file.WriteString(hex.EncodeToString(serializedBh) + "\n")
file.WriteString(hex.EncodeToString(serializedcbTx) + "\n")
for _, tx := range TxIDs {
file.WriteString(tx + "\n")
txBytes, _ := hex.DecodeString(tx)
txBytes = reverseBytes(txBytes)
file.WriteString(hex.EncodeToString(txBytes) + "\n")
}
}

Expand Down
Loading

0 comments on commit 859a783

Please sign in to comment.