bug fix: param error for unlockormint

This commit is contained in:
CounterFire2023 2024-07-17 15:08:17 +08:00
parent 66a8fc4852
commit 6c04dfb543

View File

@ -45,7 +45,7 @@ export class Locker {
async sendUnlockOrMint(provider, {to, data}) { async sendUnlockOrMint(provider, {to, data}) {
const txHash = await web3Provider.request({ const txHash = await provider.request({
method: 'eth_sendTransaction', method: 'eth_sendTransaction',
params: [{ params: [{
to, to,