File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -507,9 +507,10 @@ fn stream_key(saga_id: Uuid) -> String {
507507 format ! ( "funding:{saga_id}" )
508508}
509509
510- /// Binance `origClientOrderId` / `clientTranKey` must match `^[a-zA-Z0-9-_]{1,36}$`.
511- /// We use a 16-char truncated UUID (8 bytes hex) to stay well within the 36-char limit
512- /// while retaining enough entropy for idempotency (64 bits = 2^64 unique values).
510+ /// Binance `origClientOrderId` / `clientTranKey` must match
511+ /// `^[a-zA-Z0-9-_]{1,36}$`. We use a 16-char truncated UUID (8 bytes hex) to
512+ /// stay well within the 36-char limit while retaining enough entropy for
513+ /// idempotency (64 bits = 2^64 unique values).
513514#[ cfg( feature = "postgres" ) ]
514515fn spot_client_order_id ( saga_id : Uuid , asset : & str ) -> String {
515516 let short = & saga_id. simple ( ) . to_string ( ) [ ..16 ] ;
You can’t perform that action at this time.
0 commit comments