Skip to content

Commit

Permalink
Update CN old delegate wallet patch (#3995)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacsolo committed Oct 3, 2022
1 parent 6fe4491 commit 85fdb29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions creator-node/src/services/URSMRegistrationManager.js
Expand Up @@ -30,6 +30,9 @@ class URSMRegistrationManager {
this.spOwnerWallet = nodeConfig.get('spOwnerWallet')
this.oldDelegateOwnerWallet = this.nodeConfig.get('oldDelegateOwnerWallet')
this.oldDelegatePrivateKey = this.nodeConfig.get('oldDelegatePrivateKey')
this.entityManagerReplicaSetEnabled = this.nodeConfig.get(
'entityManagerReplicaSetEnabled'
)

if (
!this.audiusLibs ||
Expand Down Expand Up @@ -127,6 +130,7 @@ class URSMRegistrationManager {
`activeDelegateOwnerWallet: ${activeDelegateOwnerWallet.toLowerCase()} // delegateOwnerWalletFromURSM: ${delegateOwnerWalletFromURSM}`
)
if (
!this.entityManagerReplicaSetEnabled &&
activeDelegateOwnerWallet.toLowerCase() === delegateOwnerWalletFromURSM
) {
// Update config
Expand Down

0 comments on commit 85fdb29

Please sign in to comment.