mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-02-01 07:42:17 +00:00
Wallet: remove an unused variable from reorganize().
This commit is contained in:
parent
e2291d2fb4
commit
9d5b3865f5
@ -2220,7 +2220,6 @@ public class Wallet implements Serializable, BlockChainListener {
|
|||||||
}
|
}
|
||||||
|
|
||||||
List<Sha256Hash> oldBlockHashes = new ArrayList<Sha256Hash>(oldBlocks.size());
|
List<Sha256Hash> oldBlockHashes = new ArrayList<Sha256Hash>(oldBlocks.size());
|
||||||
List<Sha256Hash> newBlockHashes = new ArrayList<Sha256Hash>(newBlocks.size());
|
|
||||||
log.info("Old part of chain (top to bottom):");
|
log.info("Old part of chain (top to bottom):");
|
||||||
for (StoredBlock b : oldBlocks) {
|
for (StoredBlock b : oldBlocks) {
|
||||||
log.info(" {}", b.getHeader().getHashAsString());
|
log.info(" {}", b.getHeader().getHashAsString());
|
||||||
@ -2229,7 +2228,6 @@ public class Wallet implements Serializable, BlockChainListener {
|
|||||||
log.info("New part of chain (top to bottom):");
|
log.info("New part of chain (top to bottom):");
|
||||||
for (StoredBlock b : newBlocks) {
|
for (StoredBlock b : newBlocks) {
|
||||||
log.info(" {}", b.getHeader().getHashAsString());
|
log.info(" {}", b.getHeader().getHashAsString());
|
||||||
newBlockHashes.add(b.getHeader().getHash());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Avoid spuriously informing the user of wallet changes whilst we're re-organizing. This also prevents the
|
// Avoid spuriously informing the user of wallet changes whilst we're re-organizing. This also prevents the
|
||||||
|
Loading…
Reference in New Issue
Block a user