Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Maikol committed May 22, 2024
1 parent b20cc18 commit 85a6f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/horizon/contracts/payments/PaymentsEscrow.sol
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ contract PaymentsEscrow is Multicall, GraphDirectory, IPaymentsEscrow {

// approve a data service to collect funds
function approveCollector(address dataService, uint256 amount) external {
IGraphEscrow.Collector storage collector = authorizedCollectors[msg.sender][dataService];
Collector storage collector = authorizedCollectors[msg.sender][dataService];
if (collector.amount > amount) {
revert GraphEscrowCollectorInsufficientAmount(collector.amount, amount);
}
Expand Down

0 comments on commit 85a6f9d

Please sign in to comment.