Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encode /quote response JIT orders and pre-interactions #3038

Open
wants to merge 14 commits into
base: 3027/driver-quote-response-jit-orders
Choose a base branch
from
Prev Previous commit
Next Next commit
Do not panic
  • Loading branch information
squadgazzz committed Oct 11, 2024
commit 0975fc59ea179d01aeb0067998f79bd57605342c
2 changes: 1 addition & 1 deletion crates/shared/src/price_estimation/trade_verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ fn encode_settlement(
Signature::from_bytes(jit_order.signing_scheme, &jit_order.signature)?;
let owner = signature
.recover(domain_separator, &order_data.hash_struct())?
.unwrap()
.context("could not recover the owner")?
.signer;
(owner, signature)
}
Expand Down
Loading