Skip to content

Commit

Permalink
Merge pull request #250 from zenhack/redundant-setAnswerQuestion
Browse files Browse the repository at this point in the history
Remove redundant call to setAnswerQuestion
  • Loading branch information
zenhack authored Jul 15, 2022
2 parents f9388ba + b5aaab0 commit ce756b6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rpc/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ func (c *Conn) Bootstrap(ctx context.Context) (bc *capnp.Client) {

bootCtx, cancel := context.WithCancel(ctx)
q := c.newQuestion(capnp.Method{})
c.setAnswerQuestion(q.p.Answer(), q)
bc, q.bootstrapPromise = capnp.NewPromisedClient(bootstrapClient{
c: q.p.Answer().Client().AddRef(),
cancel: cancel,
Expand Down

0 comments on commit ce756b6

Please sign in to comment.