Skip to content

Commit

Permalink
Merge pull request #281 from hhio618/main
Browse files Browse the repository at this point in the history
Fix the withdrawal contract call
  • Loading branch information
aahna-ashina authored Jun 5, 2024
2 parents 9938b54 + 0651051 commit 4343725
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/lib/ve-token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ let gasLimits = {
create_lock: 600000,
increase_amount: 600000,
increase_unlock_time: 600000,
withdraw: 800000,
withdraw: 480000,
}

export function useVeNationLock(address: any) {
Expand Down Expand Up @@ -88,6 +88,7 @@ export function useVeNationWithdrawLock() {
return useContractWrite(
contractParams,
'withdraw',
[],
{ gasLimit: gasLimits.withdraw }
)
}
Expand Down

0 comments on commit 4343725

Please sign in to comment.