Skip to content

Commit

Permalink
No need to register for a fresh address as index starts w 1
Browse files Browse the repository at this point in the history
  • Loading branch information
KaffinPX committed Sep 26, 2024
1 parent a45c1bd commit b7ec1fb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/wallet/kaspa/account/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ export default class Account extends EventEmitter {
}
}

foundIndex += 1 // Reserves a fresh address for usage
await this.addresses.increment(isReceive ? foundIndex : 0, isReceive ? 0 : foundIndex)
}

Expand Down

0 comments on commit b7ec1fb

Please sign in to comment.