This commit is contained in:
yuyongdong 2024-09-12 14:38:05 +08:00
commit 97b8e8ff8f

View File

@ -55,11 +55,10 @@ export class Vester {
* @returns * @returns
*/ */
async claim() { async claim() {
const userAddress = await this.bc.eoaProvider.getSigner().getAddress()
return this.execMethod({ return this.execMethod({
provider: this.bc.eoaProvider, provider: this.bc.eoaProvider,
method: 'claim', method: 'claim',
params: [userAddress] params: []
}); });
} }
/** /**