Skip to content

Commit

Permalink
Update stake fn
Browse files Browse the repository at this point in the history
Remove "sign message first" requirement. We want to skip the signing
message step since there is a bug with this feature in Ledger Live
Wallet API.
  • Loading branch information
r-czajkowski committed May 15, 2024
1 parent 99ae277 commit f5d76ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdk/src/modules/staking/stake-initialization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,9 @@ class StakeInitialization {
* @returns Transaction hash of the stake initiation transaction.
*/
async stake(options = { retries: 5, backoffStepMs: 5_000 }): Promise<string> {
if (!this.#signedMessage) {
throw new Error("Sign message first")
}
// if (!this.#signedMessage) {
// throw new Error("Sign message first")
// }

await this.#tbtcDeposit.waitForFunding(options)

Expand Down

0 comments on commit f5d76ac

Please sign in to comment.