Skip to content

Commit

Permalink
Fix #263 Update index.ts allowing rocketpool validators to set a cust…
Browse files Browse the repository at this point in the history
…om fee recipient address (#309)

Fixed #263 @pablomendezroyo @dappnodedev Give some ❤️ to this change 🙏
Generate the web3signer-holesky package with this change is mandatory for publishing rocketpool-testnet. RP changed the fee recipient address when they changed the network from prater to holesky. Right now the smoothing pool address isn't equal to mainnet
  • Loading branch information
mgarciate authored May 24, 2024
1 parent 1e98651 commit bfc784d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/common/src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export function isValidTag(tag: Tag): boolean {

export function isFeeRecipientEditable(tag: Tag, requestOrigin?: ActionRequestOrigin): boolean {

if (requestOrigin === "api" && tag === "stader") return true;
if (requestOrigin === "api" && (tag === "stader" || tag === "rocketpool")) return true;

return !nonEditableFeeRecipientTags.some((t) => t === tag);
}
Expand Down

0 comments on commit bfc784d

Please sign in to comment.