Skip to content
Commits on Source (2)
...@@ -482,7 +482,7 @@ export class WireCreatorComponent { ...@@ -482,7 +482,7 @@ export class WireCreatorComponent {
this.submitted = true; this.submitted = true;
this.error = ''; this.error = '';
if (await this.web3Wallet.isLocal()) { if (await this.web3Wallet.isLocal() && this.wire.payloadType === 'onchain') {
const action = await this.web3Wallet.setupMetamask(); const action = await this.web3Wallet.setupMetamask();
switch (action) { switch (action) {
case GetMetamaskComponent.ACTION_CREATE: case GetMetamaskComponent.ACTION_CREATE:
......