Skip to content

Commit f6bc17d

Browse files
committed
Set withdrawal key index to 0
1 parent d7b5304 commit f6bc17d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

staking_deposit/credentials.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def __init__(self, *, mnemonic: str, mnemonic_password: str,
5454
purpose = '12381'
5555
coin_type = '3600'
5656
account = str(index)
57-
withdrawal_key_path = f'm/{purpose}/{coin_type}/{account}/0'
57+
withdrawal_key_path = f'm/{purpose}/{coin_type}/0/0'
5858
self.signing_key_path = f'{withdrawal_key_path}/0'
5959

6060
self.withdrawal_sk = mnemonic_and_path_to_key(

0 commit comments

Comments
 (0)