Skip to content

Commit dea5db0

Browse files
committed
Fix typo
1 parent f36efbd commit dea5db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

network-api/network-api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ func udpBeginPacket(ctx context.Context, rpc *msgpackrpc.Connection, params []an
414414

415415
func udpWrite(ctx context.Context, rpc *msgpackrpc.Connection, params []any) (_result any, _err any) {
416416
if len(params) != 2 {
417-
return nil, []any{1, "Invalid number of parameters, expected expected udpConnId, payload"}
417+
return nil, []any{1, "Invalid number of parameters, expected udpConnId, payload"}
418418
}
419419
id, ok := msgpackrpc.ToUint(params[0])
420420
if !ok {

0 commit comments

Comments
 (0)