wallet.initialize()
and adapter.initialize()
work inconsistently across wallet implementations
#462
Labels
tech-debt
A suboptimality that existed in code when it was written.
The
wallet.initialize()
andadapter.initialize()
functions are typed (and work) inconsistently.private
and remove unnecessary dummy implementations.initialize()
, it should consistently turn a reference to a single device into a wallet instance, andpairDevice()
should simply retrieve a reference to the default device and delegating the actual wallet creation toinitialize()
.initialize()
on wallets should always return aPromise<boolean>
.Fixed by #431.
The text was updated successfully, but these errors were encountered: