From 7f27fade6c1f624d6cb1d53e8cb4ff15d62d96ec Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Mon, 10 Oct 2016 07:33:45 -0700 Subject: [PATCH] txdb: state. --- lib/wallet/txdb.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/wallet/txdb.js b/lib/wallet/txdb.js index 370aabb7..f3ab74c1 100644 --- a/lib/wallet/txdb.js +++ b/lib/wallet/txdb.js @@ -2311,9 +2311,7 @@ function TXDBState(wid, id) { } TXDBState.prototype.clone = function clone() { - var state = new TXDBState(); - state.wid = this.wid; - state.id = this.id; + var state = new TXDBState(this.wid, this.id); state.tx = this.tx; state.coin = this.coin; state.balance = this.balance.clone();