Skip to content

Commit

Permalink
Revert "Revert "Update CN old delegate wallet patch (#3995)""
Browse files Browse the repository at this point in the history
This reverts commit f2dd367.
  • Loading branch information
SidSethi committed Oct 7, 2022
1 parent 399c068 commit dcd8b30
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 dcd8b30

Please sign in to comment.