Skip to content

Commit

Permalink
SOV-3654: add lowercase address in staking delegate (#730)
Browse files Browse the repository at this point in the history
* SOV-3654: add lowercase address in staking delegate

* Create chilled-months-fly.md
  • Loading branch information
pietro-maximoff authored Jan 8, 2024
1 parent 00d55f4 commit 34f8b68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/chilled-months-fly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"frontend": patch
---

SOV-3654: add lowercase address in staking delegate
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export const useHandleAdjustStake = (
type: TransactionType.signTransaction,
contract: stakingContract,
fnName: 'delegate',
args: [delegateAddress, timestamp],
args: [delegateAddress.toLowerCase(), timestamp],
gasLimit: GAS_LIMIT.STAKING_STAKE,
},
onComplete,
Expand Down

0 comments on commit 34f8b68

Please sign in to comment.