Skip to content

Commit 3315348

Browse files
committed
fix: linting issue
1 parent 9b8d8b6 commit 3315348

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ 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, sender_path=self._account.path)
87+
sig: SignedMessage = sign_message(
88+
msghash, dongle=self._device, sender_path=self._account.path
89+
)
8890

8991
signature: HexStr = sig.signature
9092

@@ -93,7 +95,9 @@ async def sign_message(self, message: Dict) -> Dict:
9395

9496
async def sign_raw(self, buffer: bytes) -> bytes:
9597
"""Sign a raw buffer."""
96-
sig: SignedMessage = sign_message(buffer, dongle=self._device, sender_path=self._account.path)
98+
sig: SignedMessage = sign_message(
99+
buffer, dongle=self._device, sender_path=self._account.path
100+
)
97101
signature: HexStr = sig.signature
98102
return bytes_from_hex(signature)
99103

0 commit comments

Comments
 (0)