Commit dedf498
authored
What is the current state of things and why does it need to change?
1. It was determined that `AccountProviderType` doesn't work well with
the concept of a custom provider. We wanted to let the
`MultichainAccountWallet` orchestrate the discovery so it was determined
it would be better to keep the function signature as is for
`discoverAndCreateAccounts`.
2. Writing `AccountProvider<Bip44Account<KeyringAccount>>` is a
mouthful.
What is the solution your changes offer and how does it work?
1. Remove the `AccountProviderType` enum, revert the changes made to
`AccountProvider`.
2. Write a type alias: `Bip44AccountProvider`.
1 parent cd03860 commit dedf498
2 files changed
+15
-21
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 3 | + | |
8 | 4 | | |
9 | 5 | | |
10 | 6 | | |
11 | 7 | | |
12 | 8 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | 9 | | |
18 | 10 | | |
19 | 11 | | |
| |||
43 | 35 | | |
44 | 36 | | |
45 | 37 | | |
46 | | - | |
| 38 | + | |
| 39 | + | |
47 | 40 | | |
48 | 41 | | |
49 | 42 | | |
50 | 43 | | |
51 | 44 | | |
| 45 | + | |
52 | 46 | | |
53 | 47 | | |
54 | 48 | | |
55 | 49 | | |
| 50 | + | |
56 | 51 | | |
57 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
0 commit comments