Skip to content

Commit

Permalink
trustedForwrader member should be public (#471)
Browse files Browse the repository at this point in the history
like all other contract member fields.

Co-authored-by: shahafn <shahaflol@gmail.com>
  • Loading branch information
drortirosh and shahafn authored Aug 25, 2020
1 parent a5d77b4 commit b83bc36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/BasePaymaster.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import "./forwarder/Forwarder.sol";
abstract contract BasePaymaster is IPaymaster, Ownable {

IRelayHub internal relayHub;
IForwarder internal trustedForwarder;
IForwarder public trustedForwarder;

function getHubAddr() public override view returns (address) {
return address(relayHub);
Expand Down
2 changes: 1 addition & 1 deletion contracts/BaseRelayRecipient.sol
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ abstract contract BaseRelayRecipient is IRelayRecipient {
/*
* Forwarder singleton we accept calls from
*/
address internal trustedForwarder;
address public trustedForwarder;

function isTrustedForwarder(address forwarder) public override view returns(bool) {
return forwarder == trustedForwarder;
Expand Down

0 comments on commit b83bc36

Please sign in to comment.