In the current implementation, we offer the ability to automatically connect a wallet to a DApp after the connection has been established for the first time.
In doing so, the verifyConnection is not called anymore. However, this function was the only way for the DApp to get information about the connected wallet.
To fix this, I propose adding a second parameter to the onConnect function inside DAppPeerConnect.
This way, the DApp always gets the information about which wallet is connected.
In the current implementation, we offer the ability to automatically connect a wallet to a DApp after the connection has been established for the first time.
In doing so, the
verifyConnection
is not called anymore. However, this function was the only way for the DApp to get information about the connected wallet.To fix this, I propose adding a second parameter to the
onConnect
function insideDAppPeerConnect
.This way, the DApp always gets the information about which wallet is connected.