aboutsummaryrefslogtreecommitdiff
path: root/hotline/transaction.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2024-06-08 19:26:14 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2024-06-09 14:05:15 -0700
commit9c44621ee1ca9abfca79c593e80193afd9204c83 (patch)
tree03b438ebba58d1fb4a2a5460291ab2357be54fba /hotline/transaction.go
parent9a75b7cbfa6fa37ed10732bbff8b722d652a1cdc (diff)
Replace custom slice concat func with slices.Concat
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,