Skip to content

Commit

Permalink
fix string replace for entitlement
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuahannan committed Oct 31, 2024
1 parent 3f8b568 commit 21575dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/go/contracts/contracts.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ func USDCFlowBasic(ftAddr, metadataAddr, ftMetadataAddr, viewResolverAddr, burne
code = bridgeInterfacesFullImport.ReplaceAllString(code, "")
minterDefinition := regexp.MustCompile(`Minter: FlowEVMBridgeHandlerInterfaces.TokenMinter {`)
code = minterDefinition.ReplaceAllString(code, "Minter {")
mintEntitlement := regexp.MustCompile(`access(FlowEVMBridgeHandlerInterfaces.Mint)`)
code = mintEntitlement.ReplaceAllString(code, "access(all)")
mintEntitlement := regexp.MustCompile(`FlowEVMBridgeHandlerInterfaces.Mint`)
code = mintEntitlement.ReplaceAllString(code, "all")

return []byte(code)
}

0 comments on commit 21575dd

Please sign in to comment.