From 5bd38556d804623bb4d335a6c69d346fd9f0279c Mon Sep 17 00:00:00 2001 From: Sahil-Gujrati Date: Mon, 28 Oct 2024 01:16:54 +0530 Subject: [PATCH] fix: Return a uint16 instead of a uint256 from the getFeeInBasisPoints function --- src/PayStreams.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PayStreams.sol b/src/PayStreams.sol index 7a9189e..aafd4e1 100644 --- a/src/PayStreams.sol +++ b/src/PayStreams.sol @@ -361,7 +361,7 @@ contract PayStreams is Ownable, IPayStreams { * @notice Gets the fee value for streaming in basis points. * @return The fee value for streaming in basis points. */ - function getFeeInBasisPoints() external view returns (uint256) { + function getFeeInBasisPoints() external view returns (uint16) { return s_feeInBasisPoints; }