Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Merge requests
!430
XX-4277 / Fix file transfer crashes
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
XX-4277 / Fix file transfer crashes
XX-4277/fileTransferCrashDebug
into
release
Overview
0
Commits
22
Pipelines
0
Changes
1
Merged
Jono Wenger
requested to merge
XX-4277/fileTransferCrashDebug
into
release
2 years ago
Overview
0
Commits
22
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
0667ec02
Prev
Next
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
0667ec02
Fix wrong type string
· 0667ec02
Jono Wenger
authored
2 years ago
bindings/fileTransfer.go
+
1
−
1
Options
@@ -192,7 +192,7 @@ func InitFileTransfer(e2eID int, receiveFileCallback ReceiveFileCallback,
// - []byte - unique file transfer ID
func
(
f
*
FileTransfer
)
Send
(
payload
,
recipientID
[]
byte
,
retry
float32
,
callback
FileTransferSentProgressCallback
,
period
int
)
([]
byte
,
error
)
{
jww
.
INFO
.
Printf
(
"[FT] Sending file transfer to %
d
."
,
jww
.
INFO
.
Printf
(
"[FT] Sending file transfer to %
s
."
,
base64
.
StdEncoding
.
EncodeToString
(
recipientID
))
// Unmarshal recipient ID
Loading