chaindb: minor.

This commit is contained in:
Christopher Jeffrey 2017-11-16 10:04:14 -08:00
parent 280d5d38e5
commit 3565d5dfe7
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -2157,12 +2157,12 @@ class ChainState {
}
add(coin) {
this.coin++;
this.coin += 1;
this.value += coin.value;
}
spend(coin) {
this.coin--;
this.coin -= 1;
this.value -= coin.value;
}