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

Commit

Permalink
0.4.23 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nanexcool committed Jun 7, 2018
1 parent f40050d commit 3597805
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/medianizer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ contract Medianizer is DSThing {
uint96 ctr = 0;
for (uint96 i = 1; i < uint96(next); i++) {
if (values[bytes12(i)] != 0) {
bytes32 wut; bool wuz;
bytes32 wut;
bool wuz;
(wut, wuz) = DSValue(values[bytes12(i)]).peek();
if (wuz) {
if (ctr == 0 || wut >= wuts[ctr - 1]) {
Expand Down
2 changes: 1 addition & 1 deletion src/medianizer.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import "./medianizer.sol";
contract FakePerson {
Medianizer m;

function FakePerson(Medianizer m_) public {
constructor(Medianizer m_) public {
m = m_;
}

Expand Down

0 comments on commit 3597805

Please sign in to comment.