From 40b5912cf8a5bd50b831f39383614f78c2b8ed12 Mon Sep 17 00:00:00 2001
From: Garet Halliday <me@garet.holiday>
Date: Mon, 13 May 2024 13:00:07 -0500
Subject: [PATCH] don't modify original

---
 pkg/jsonrpc/reqresp.go | 1 -
 1 file changed, 1 deletion(-)

diff --git a/pkg/jsonrpc/reqresp.go b/pkg/jsonrpc/reqresp.go
index edca32e..89c94a9 100644
--- a/pkg/jsonrpc/reqresp.go
+++ b/pkg/jsonrpc/reqresp.go
@@ -54,7 +54,6 @@ func (r *Request) WithContext(ctx context.Context) *Request {
 	if ctx == nil {
 		panic("nil context")
 	}
-	r.ctx = ctx
 	r2 := new(Request)
 	*r2 = *r
 	r2.ctx = ctx
-- 
GitLab