Should calling extract_v1 close the v2 session. We are assuming the v2 sender has abondoned their v2 session. It would make sense to return a state transition object which closes the current session and returns the v1 payload.
This question can be applied to the fallback more generally
|
pub fn extract_v1(&self) -> (Request, v1::V1Context) { self.v1.extract_v1() } |
Should calling
extract_v1close the v2 session. We are assuming the v2 sender has abondoned their v2 session. It would make sense to return a state transition object which closes the current session and returns the v1 payload.This question can be applied to the fallback more generally
rust-payjoin/payjoin/src/send/v2/mod.rs
Line 208 in f6d4a61