mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-28 17:15:14 +01:00
Merge pull request #7394 from thecockatiel/add_comment
chore: add comment to DaoState#addBlock
This commit is contained in:
commit
b14739dedd
1 changed files with 2 additions and 0 deletions
|
@ -319,6 +319,8 @@ public class DaoState implements PersistablePayload {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addBlock(Block block) {
|
public void addBlock(Block block) {
|
||||||
|
// The block added here does not have any tx,
|
||||||
|
// so we do not need to update the txCache or txOutputsByTxOutputType
|
||||||
blocks.add(block);
|
blocks.add(block);
|
||||||
blocksByHeight.put(block.getHeight(), block);
|
blocksByHeight.put(block.getHeight(), block);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue