From 7d12c6e18a6f1353bb61d2289a43c1ab24153e53 Mon Sep 17 00:00:00 2001 From: kenshin-samourai Date: Mon, 23 Mar 2020 15:57:55 +0100 Subject: [PATCH] fix for issue 130 --- lib/db/mysql-db-wrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db/mysql-db-wrapper.js b/lib/db/mysql-db-wrapper.js index 49d4c62..93beef1 100644 --- a/lib/db/mysql-db-wrapper.js +++ b/lib/db/mysql-db-wrapper.js @@ -1430,7 +1430,7 @@ class MySqlDbWrapper { const params = [txs.map(tx => [ tx.txid, - tx.created, + tx.created ? tx.created : util.unix(), tx.version, tx.locktime ])]