Update METADAPT-A and METADAPT-B accordingly

This commit is contained in:
2025-01-19 19:27:15 -05:00
parent 92b3da4282
commit 044a1a6119
2 changed files with 8 additions and 6 deletions

View File

@@ -29,8 +29,8 @@ func (this *b) OpenTrans() (Trans, error) {
return transB { underlying: stream }, nil
}
func (this *b) AcceptTrans(ctx context.Context) (Trans, error) {
stream, err := this.underlying.AcceptStream(ctx)
func (this *b) AcceptTrans() (Trans, error) {
stream, err := this.underlying.AcceptStream(context.Background())
if err != nil { return nil, err }
return transB { underlying: stream }, nil
}