Skip to content
Commit bd75ff9b authored by Dominique's avatar Dominique
Browse files

Changes in `validateAddress` function, tests & docs

- Replaced `filter` with a `for..of` loop when retrieving the `network`.
- Replaced `new TypeRegistry` with `this.api.registry` when retrieving the `accountID`.
- Renamed `networkName` to `network` so it is aligned with the key naming in the SS58 registry.
- Updated the JSDocs of the function `validateAddress`.
- Added the default mock api into the service in the tests.
- Updated the docs.
parent b08cb4a9
Pipeline #196733 waiting for manual action with stages
in 1 minute and 31 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment