You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I create accounts with the same name on different nodes then share one of them to another node I can mistakenly get the wrong account when getting AccountInfo by Name.
If I create accounts with the same name on different nodes then share one of them to another node I can mistakenly get the wrong account when getting AccountInfo by Name.
This is essentially the scenario in the javadocs:
https://github.com/corda/accounts/blob/master/workflows/src/main/kotlin/com/r3/corda/lib/accounts/workflows/services/AccountService.kt#L82-L90
For that reason a Warning should probably be logged when calling that method:
https://github.com/corda/accounts/blob/master/workflows/src/main/kotlin/com/r3/corda/lib/accounts/workflows/services/KeyManagementBackedAccountsService.kt#L53-L57
The text was updated successfully, but these errors were encountered: