Skip to content

Commit 6ca5f79

Browse files
committed
fix: forge fmt
1 parent 9cca635 commit 6ca5f79

4 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/ISortedList.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ interface ISortedList {
66
error InvalidRangeTo(uint256 from, uint256 to);
77
error AddressNotInList(address target);
88
error ListIsEmpty();
9+
910
struct Node {
1011
address next;
1112
uint256 value;

src/ISwMileageToken.sol

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ interface ISwMileageToken is IKIP7, IKIP7Burnable {
88
error BurnNotAllowed();
99
error ApprovalNotAllowed();
1010
error AdminOnlyOperation();
11+
1112
struct Student {
1213
address account;
1314
uint256 balance;

src/SortedList.sol

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ abstract contract SortedList is ISortedList {
3030
return _participated[addr];
3131
}
3232

33-
3433
function _getElementRange(uint256 from, uint256 to) internal view virtual returns (bytes memory) {
3534
if (from == 0) revert InvalidRangeFrom();
3635
if (from > to) revert InvalidRangeTo(from, to);

src/SwMileageToken.impl.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ contract SwMileageTokenImpl is KIP7Burnable, Initializable, Admin, SortedList, I
100100
_updateElement(to, balanceOf(to));
101101
return;
102102
}
103-
103+
104104
if (to == address(0)) {
105105
// burn
106106
_updateOrRemove(from, balanceOf(from));

0 commit comments

Comments
 (0)