Skip to content

Commit

Permalink
fix: order signature type
Browse files Browse the repository at this point in the history
  • Loading branch information
yvesfracari committed Jan 2, 2025
1 parent 0d02036 commit 5682fb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cow_py/contracts/sign.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from eth_account import Account
from eth_account.datastructures import SignedMessage
from eth_account.signers.local import LocalAccount
from eth_typing import ChecksumAddress
from eth_typing import ChecksumAddress, HexStr
from eth_utils.conversions import to_hex
from eth_utils.crypto import keccak
from web3 import Web3
Expand Down Expand Up @@ -85,7 +85,7 @@ def sign_order(
)
return EcdsaSignature(
scheme=scheme,
data=signed_data.signature.hex(),
data=Web3.to_hex(signed_data.signature),
)


Expand Down

0 comments on commit 5682fb1

Please sign in to comment.