Skip to content

Commit

Permalink
Updated to new DrawManager
Browse files Browse the repository at this point in the history
  • Loading branch information
asselstine committed Apr 10, 2024
1 parent b8f736a commit 32f6363
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/pt-v5-draw-manager
2 changes: 1 addition & 1 deletion test/RngWitnet.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ contract RngWitnetTest is Test {
}

function testRandomNumber() public {
(uint32 requestId, uint256 lockBlock,) = requestRandomNumber();
(uint32 requestId,,) = requestRandomNumber();
vm.mockCall(address(witnetRandomness), abi.encodeWithSelector(witnetRandomness.fetchRandomnessAfter.selector, requestId), abi.encode(777));
assertEq(rngWitnet.randomNumber(requestId), 777);
}
Expand Down

0 comments on commit 32f6363

Please sign in to comment.