txdb: state.

This commit is contained in:
Christopher Jeffrey 2016-10-10 07:33:45 -07:00
parent e8bbde669c
commit 7f27fade6c
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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();