diff --git a/.gitmodules b/.gitmodules index f0c8d9d5c..c31057839 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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"] diff --git a/lib/openzeppelin-contracts b/lib/openzeppelin-contracts index 376cef91c..014ce9c6e 160000 --- a/lib/openzeppelin-contracts +++ b/lib/openzeppelin-contracts @@ -1 +1 @@ -Subproject commit 376cef91ca330e66e0275424bb1035a6715c77f1 +Subproject commit 014ce9c6e6cacfc1f357eb1538ecc6d3ad2bcca3 diff --git a/src/SablierV2Linear.sol b/src/SablierV2Linear.sol index af4da2c12..002d936fa 100644 --- a/src/SablierV2Linear.sol +++ b/src/SablierV2Linear.sol @@ -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 diff --git a/src/SablierV2Pro.sol b/src/SablierV2Pro.sol index fd5c9c65d..15dc4f2c0 100644 --- a/src/SablierV2Pro.sol +++ b/src/SablierV2Pro.sol @@ -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