diff --git a/src/components/chain/contract/Locker.js b/src/components/chain/contract/Locker.js index afd211a..67b4f06 100644 --- a/src/components/chain/contract/Locker.js +++ b/src/components/chain/contract/Locker.js @@ -80,7 +80,9 @@ export class Locker { if (errcode) { throw new Error(errmsg) } - + if (chainId == parseInt(import.meta.env.VUE_APP_NET_ID_MAIN)) { + trans_req.from = this.bc.store.eoaAddress + } return this.sendUnlockOrMint(provider, trans_req) }