Merge branch 'staking' of http://git.kingsome.cn/huangjinming/CounterFireGames into staking
This commit is contained in:
commit
97b8e8ff8f
@ -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: []
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user