Skip to content
This repository has been archived by the owner on Sep 9, 2022. It is now read-only.

Fix variable name in MyLootBox.sol #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions contracts/MyLootBox.sol
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@ contract MyLootBox is ILootBox, Ownable, Pausable, ReentrancyGuard, MyFactory {
// Process guaranteed token ids
for (uint256 classId = 0; classId < settings.guarantees.length; classId++) {
if (classId > 0) {
uint256 quantityOfGaranteed = settings.guarantees[classId];
_sendTokenWithClass(Class(classId), _toAddress, quantityOfGaranteed);
quantitySent += quantityOfGaranteed;
uint256 quantityOfGuaranteed = settings.guarantees[classId];
_sendTokenWithClass(Class(classId), _toAddress, quantityOfGuaranteed);
quantitySent += quantityOfGuaranteed;
}
}
}
Expand Down