Skip to content

Commit

Permalink
Upgrade tests (WIP)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike-CZ committed Sep 15, 2024
1 parent e760bbc commit 241f434
Show file tree
Hide file tree
Showing 3 changed files with 850 additions and 725 deletions.
4 changes: 3 additions & 1 deletion contracts/sfc/NodeDriver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ contract NodeDriverAuth is Initializable, Ownable {
while (num != 0) {
bstr[strIdx] = bytes1(uint8(48 + num % 10));
num /= 10;
strIdx--;
if (strIdx > 0) {
strIdx--;
}
}
return string(bstr);
}
Expand Down
Loading

0 comments on commit 241f434

Please sign in to comment.