mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-31 23:32:16 +00:00
Fix BOBS bug introduced by my optimizations.
This commit is contained in:
parent
fb56237de8
commit
61410adbaa
@ -114,7 +114,7 @@ public class BoundedOverheadBlockStore implements BlockStore {
|
||||
buf.put(EMPTY_BYTES, 0, CHAIN_WORK_BYTES - chainWorkBytes.length);
|
||||
}
|
||||
buf.put(chainWorkBytes);
|
||||
buf.put(block.getHeader().bitcoinSerialize());
|
||||
buf.put(block.getHeader().cloneAsHeader().bitcoinSerialize());
|
||||
buf.position(0);
|
||||
channel.position(channel.size());
|
||||
if (channel.write(buf) < Record.SIZE)
|
||||
|
Loading…
Reference in New Issue
Block a user