Add collateral address check in join federation service#720
Add collateral address check in join federation service#720fassadlr merged 2 commits intostratisproject:release/1.1.0.0from
Conversation
quantumagi
left a comment
There was a problem hiding this comment.
LGTM. The only thing that can go wrong is if the member was previously registered and the node is in IBD. An error may arise due to previously being a member with that address. This can be alleviated by replacing IsCollateralAddressRegistered with CollateralAddressOwner and only raising an error if a different owner is detected.
Perhaps we should add an IBD check in the service? |
Its another restriction/pain in what the user can do and when but maybe justified... |
No description provided.