Skip to content

Commit 422e9b0

Browse files
committed
Fix: Solved wrong signing address when a derivation_path is used.
1 parent bd291e0 commit 422e9b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph/sdk/wallets/ledger/ethereum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ async def sign_message(self, message: Dict) -> Dict:
8484

8585
# TODO: Check why the code without a wallet uses `encode_defunct`.
8686
msghash: bytes = get_verification_buffer(message)
87-
sig: SignedMessage = sign_message(msghash, dongle=self._device)
87+
sig: SignedMessage = sign_message(msghash, dongle=self._device, sender_path=self._account.path)
8888

8989
signature: HexStr = sig.signature
9090

0 commit comments

Comments
 (0)