diff --git a/lib/wallet/txdb.js b/lib/wallet/txdb.js index 7123d7ab..f692c4c6 100644 --- a/lib/wallet/txdb.js +++ b/lib/wallet/txdb.js @@ -1013,8 +1013,12 @@ TXDB.prototype.confirm = co(function* confirm(tx, info) { if (tx.height === -1) return true; - // Save the original received time. - tx.ps = existing.ps; + // Inject block properties. + existing.ts = tx.ts; + existing.height = tx.height; + existing.index = tx.index; + existing.block = tx.block; + tx = existing; this.put(layout.t(hash), tx.toExtended());