Skip to content

Commit

Permalink
wdb: update wallet types.
Browse files Browse the repository at this point in the history
  • Loading branch information
nodech committed Jan 15, 2025
1 parent dd36a77 commit ebf0ec0
Show file tree
Hide file tree
Showing 5 changed files with 485 additions and 297 deletions.
1 change: 1 addition & 0 deletions lib/primitives/coin.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,7 @@ class Coin extends Output {
* @param {TX} tx
* @param {Number} index
* @param {Number} height
* @returns {this}
*/

fromTX(tx, index, height) {
Expand Down
1 change: 1 addition & 0 deletions lib/wallet/records.js
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,7 @@ class MapRecord extends bio.Struct {

constructor() {
super();
/** @type {Set<Number>} */
this.wids = new Set();
}

Expand Down
Loading

0 comments on commit ebf0ec0

Please sign in to comment.