From 08e56791a0f4df19af9a47cc3eb28696885b8b1e Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 28 Feb 2017 20:53:33 -0800 Subject: [PATCH] scripts: fix dump. --- scripts/dump.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/dump.js b/scripts/dump.js index d3fbba54..3057e9b6 100644 --- a/scripts/dump.js +++ b/scripts/dump.js @@ -29,8 +29,8 @@ function parseTX(file) { } raw = Coins.fromTX(tx.tx, 0).toRaw(); -coins = Coins.fromRaw(raw, tx.hash('hex')); -entry = MempoolEntry.fromTX(tx, tx.view, 1000000); +coins = Coins.fromRaw(raw, tx.tx.hash('hex')); +entry = MempoolEntry.fromTX(tx.tx, tx.view, 1000000); setInterval(function() { console.log(tx.hash('hex'));