mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-17 04:43:08 +00:00
Fix slotSize to reduce by one block
This commit is contained in:
parent
f3f7974a10
commit
5a0ccc4d62
@ -290,7 +290,7 @@ proc requestStorage*(
|
||||
# because the slotSize is used to determine the amount of bytes to reserve
|
||||
# in a Reservations
|
||||
# TODO: slotSize: (encoded.blockSize.int * encoded.steps).u256,
|
||||
slotSize: (encoded.blockSize.int * encoded.blocks.len).u256,
|
||||
slotSize: (encoded.blockSize.int * (encoded.blocks.len - 1)).u256,
|
||||
duration: duration,
|
||||
proofProbability: proofProbability,
|
||||
reward: reward,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user