mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-28 17:15:14 +01:00
chore: add comment to DaoState#addBlock
This commit is contained in:
parent
631d0f9222
commit
7303f7e03f
1 changed files with 2 additions and 0 deletions
|
@ -319,6 +319,8 @@ public class DaoState implements PersistablePayload {
|
|||
}
|
||||
|
||||
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);
|
||||
blocksByHeight.put(block.getHeight(), block);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue