Closed tiero closed 2 years ago
GetAccountInfo expects an accountID as parameter: https://github.com/vulpemventures/marina-provider/blob/master/src/provider.ts#L48 Not the expected behaviour ?
(The idea is to be able to get the info before switching)
We should return the main account info if undefined. Moreover, we should return the descriptor that represents the bip84 derivation
on MainAccount f I do
await marina.getAccountInfo()
will getUncaught Error: Account undefined not found
Originally posted by @tiero in https://github.com/vulpemventures/marina/issues/345#issuecomment-1145945204