aboutsummaryrefslogtreecommitdiff
path: root/hotline/transaction.go
diff options
context:
space:
mode:
Diffstat (limited to 'hotline/transaction.go')
-rw-r--r--hotline/transaction.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hotline/transaction.go b/hotline/transaction.go
index b01fdfb..d9bbc22 100644
--- a/hotline/transaction.go
+++ b/hotline/transaction.go
@@ -5,8 +5,8 @@ import (
"encoding/binary"
"errors"
"fmt"
- "github.com/jhalter/mobius/concat"
"math/rand"
+ "slices"
)
const (
@@ -203,7 +203,7 @@ func (t *Transaction) MarshalBinary() (data []byte, err error) {
fieldPayload = append(fieldPayload, field.Payload()...)
}
- return concat.Slices(
+ return slices.Concat(
[]byte{t.Flags, t.IsReply},
t.Type,
t.ID,