on master help sign in
tx: handle Gnosis Safe send TX flow
5532fbatomholford
src/lib/WalletConnect.ts+1−1
@@ -31,7 +31,7 @@ const walletConnectSignTransaction = async ({
31 try {
31 try {
32 signature = await txnSigner(wcFormattedTx);
32 signature = await txnSigner(wcFormattedTx);
33 } catch (e) {
33 } catch (e) {
34− if (e.message === 'METHOD_NOT_SUPPORTED') {
34+ if (e.message === 'METHOD_NOT_SUPPORTED' || e.message === '"eth_signTransaction" not implemented') {
35 console.log('connected wc wallet does not support tx signing.');
35 console.log('connected wc wallet does not support tx signing.');
36 return FakeSignResult(
36 return FakeSignResult(
37 wcFormattedTx,
37 wcFormattedTx,