mirror of
https://codeberg.org/anoncontributorxmr/mysu.git
synced 2024-11-25 17:02:28 +00:00
fixing some issues when fetching latest address, i wasn't incremeting the index correctly i think
This commit is contained in:
parent
21a81a271a
commit
73ff5082c9
1 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,8 @@ public class AddressService extends ServiceBase {
|
||||||
|
|
||||||
public void refreshAddresses() {
|
public void refreshAddresses() {
|
||||||
for (TransactionInfo info : HistoryService.getInstance().getHistory()) {
|
for (TransactionInfo info : HistoryService.getInstance().getHistory()) {
|
||||||
if(info.addressIndex > latestAddressIndex) {
|
if(info.addressIndex >= latestAddressIndex) {
|
||||||
latestAddressIndex = info.addressIndex;
|
latestAddressIndex = info.addressIndex + 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue