Skip to content

Commit

Permalink
fix: extend stake function
Browse files Browse the repository at this point in the history
- The value input here should be the amount wanted to be added, not the total end amount of the lockup.
  • Loading branch information
apexearth committed Aug 2, 2024
1 parent c06d1fb commit 8327f95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const ExtendAddLockupModal = ({
contract: tokens.mainnet.xOGN,
functionName: 'stake',
args: [
totalAmount[0],
amountToAdd[0],
durationSeconds,
address ?? ZERO_ADDRESS,
addRewards,
Expand Down

0 comments on commit 8327f95

Please sign in to comment.