Skip to content

Commit

Permalink
add entoty mangaer address param to config internal web3 native (#3734)
Browse files Browse the repository at this point in the history
Co-authored-by: Nikki Kang <kangaroo233@gmail.com>
  • Loading branch information
nicoback2 and nicoback authored Aug 22, 2022
1 parent 55f5da7 commit 5198b0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/src/NativeAudiusLibs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ export class AudiusLibs {
static configInternalWeb3(
registryAddress: string,
providers: provider,
privateKey: string
privateKey?: string,
entityManagerAddress?: string
) {
let providerList
if (typeof providers === 'string') {
Expand All @@ -174,6 +175,7 @@ export class AudiusLibs {

return {
registryAddress,
entityManagerAddress,
useExternalWeb3: false,
internalWeb3Config: {
web3ProviderEndpoints: providerList,
Expand Down

0 comments on commit 5198b0f

Please sign in to comment.