diff --git a/src/use-cases/action-types/helpers.js b/src/use-cases/action-types/helpers.js index 6a65987..4d7240d 100644 --- a/src/use-cases/action-types/helpers.js +++ b/src/use-cases/action-types/helpers.js @@ -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) {