Skip to content

Commit

Permalink
Another jsonrpc error for invalid address list fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chiguireitor committed Jan 6, 2019
1 parent 90f4437 commit 7d43df7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/js/components/logon.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,9 @@ function LogonViewModel() {
if (lastAddressWithMovement) {
generateAnotherAddress = true;
} else if ((totalAddresses - PREFERENCES['num_addresses_used']) >= PREFERENCES['num_segwit_addresses_used'] && !lastAddressWithMovement) {
WALLET.addresses.pop();
if (WALLET.addresses.length > 1) {
WALLET.addresses.pop();
}
generateAnotherAddress = false;
}

Expand Down

0 comments on commit 7d43df7

Please sign in to comment.