Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
Change DEFAULT_MAX_ADDRESSES from 255 to 8
Browse files Browse the repository at this point in the history
  • Loading branch information
herr-seppia committed Dec 30, 2023
1 parent c36381c commit 55e6d7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Change `dusk-wallet-core` to `0.24.0-plonk.0.16-rc.2`
- Change `REQUIRED_RUSK_VERSION` to `0.8.0-rc`
- Change `DEFAULT_MAX_ADDRESSES` from 255 to 8

## [0.20.1] - 2023-11-22

Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub const EPOCH: u64 = 2160;
/// Max addresses the wallet can store
pub const MAX_ADDRESSES: usize = get_max_addresses();

const DEFAULT_MAX_ADDRESSES: usize = 255;
const DEFAULT_MAX_ADDRESSES: usize = 8;

const fn get_max_addresses() -> usize {
match option_env!("WALLET_MAX_ADDR") {
Expand Down

0 comments on commit 55e6d7d

Please sign in to comment.