fixes crash in market buffer again

This commit is contained in:
benbierens 2024-06-21 09:59:24 +02:00
parent 0c4d3be912
commit a905f0ce53
No known key found for this signature in database
GPG Key ID: 877D2C2E09A22F3A
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ namespace TestNetRewarder
private int GetTotalSize(Ask ask)
{
var nSlots = Convert.ToInt32(ask.Slots);
var slotSize = Convert.ToInt32(ask.SlotSize);
var slotSize = (int)ask.SlotSize;
return nSlots * slotSize;
}
}