Skip to content

Commit

Permalink
fix: use "_ownerOf" ERC721 function
Browse files Browse the repository at this point in the history
build: upgrade to "release-v4.8" of "openzeppelin-contracts"
  • Loading branch information
PaulRBerg committed Oct 22, 2022
1 parent 8806123 commit 660cf68
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
path = "lib/forge-std"
url = "https://github.com/foundry-rs/forge-std"
[submodule "lib/openzeppelin-contracts"]
branch = "release-v4.7"
branch = "release-v4.8"
path = "lib/openzeppelin-contracts"
url = "https://github.com/OpenZeppelin/openzeppelin-contracts"
[submodule "lib/prb-math"]
Expand Down
2 changes: 1 addition & 1 deletion lib/openzeppelin-contracts
2 changes: 1 addition & 1 deletion src/SablierV2Linear.sol
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ contract SablierV2Linear is

/// @inheritdoc ISablierV2
function getRecipient(uint256 streamId) public view override(ISablierV2, SablierV2) returns (address recipient) {
recipient = ownerOf(streamId);
recipient = _ownerOf(streamId);
}

/// @inheritdoc ISablierV2
Expand Down
2 changes: 1 addition & 1 deletion src/SablierV2Pro.sol
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ contract SablierV2Pro is

/// @inheritdoc ISablierV2
function getRecipient(uint256 streamId) public view override(ISablierV2, SablierV2) returns (address recipient) {
recipient = ownerOf(streamId);
recipient = _ownerOf(streamId);
}

/// @inheritdoc ISablierV2
Expand Down

0 comments on commit 660cf68

Please sign in to comment.