Fix slotSize to reduce by one block

This commit is contained in:
Eric 2023-08-29 14:56:03 +10:00
parent f3f7974a10
commit 5a0ccc4d62
No known key found for this signature in database

View File

@ -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,