Fix comment in useSendWallets (#1691)
This commit is contained in:
parent
080459cd21
commit
a5fa40aa1b
|
@ -220,7 +220,7 @@ export function useWallet (name) {
|
||||||
|
|
||||||
export function useSendWallets () {
|
export function useSendWallets () {
|
||||||
const { wallets } = useWallets()
|
const { wallets } = useWallets()
|
||||||
// return the first enabled wallet that is available and can send
|
// return all enabled wallets that are available and can send
|
||||||
return wallets
|
return wallets
|
||||||
.filter(w => !w.def.isAvailable || w.def.isAvailable())
|
.filter(w => !w.def.isAvailable || w.def.isAvailable())
|
||||||
.filter(w => w.config?.enabled && canSend(w))
|
.filter(w => w.config?.enabled && canSend(w))
|
||||||
|
|
Loading…
Reference in New Issue