Commit 4d5c1bd1 authored by Mark Harding's avatar Mark Harding

(fix): offchain plus / payments should not require metamask screen - resolve engine#517

parent 4785c31e
No related merge requests found
Pipeline #67518156 passed with stages
in 41 minutes and 40 seconds
......@@ -372,7 +372,7 @@ export class WirePaymentsCreatorComponent {
this.submitted = true;
this.error = '';
if (await this.web3Wallet.isLocal()) {
if (await this.web3Wallet.isLocal() && this.wire.payloadType === 'onchain') {
const action = await this.web3Wallet.setupMetamask();
switch (action) {
case GetMetamaskComponent.ACTION_CREATE:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment