mirror of
https://github.com/Permissionless-Software-Foundation/psf-memo-indexer.git
synced 2026-09-21 16:52:02 -07:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user