Merge pull request #1 from Permissionless-Software-Foundation/fix-memo-reply-txid-byte-order

fix: reverse Memo reply parent txid byte order
This commit is contained in:
Chris Troutner
2026-07-16 14:53:33 -07:00
committed by GitHub
+5 -1
View File
@@ -47,7 +47,11 @@ export function normalizeTwoPushMemoDatas (pushDatas) {
export function txHashFromPush (buf) {
if (!buf || buf.length !== 32) return null
return buf.toString('hex')
return Buffer
.from(buf)
.reverse()
.toString('hex')
}
export function followKey (followerAddr, followeeAddr) {