Skip to content
Snippets Groups Projects
Commit 2d5fca6e authored by Jono Wenger's avatar Jono Wenger
Browse files

Fix tests

parent 8980452f
No related branches found
No related tags found
2 merge requests!510Release,!340Project/channels
...@@ -100,7 +100,7 @@ func (r *Received) AddTransfer(key *ftCrypto.TransferKey, ...@@ -100,7 +100,7 @@ func (r *Received) AddTransfer(key *ftCrypto.TransferKey,
_, exists := r.transfers[*tid] _, exists := r.transfers[*tid]
if exists { if exists {
return nil, errors.Errorf(errAddExistingReceivedTransfer, tid) return nil, errors.Errorf(errAddExistingReceivedTransfer, *tid)
} }
rt, err := newReceivedTransfer( rt, err := newReceivedTransfer(
......
...@@ -108,7 +108,7 @@ func (s *Sent) AddTransfer(recipient *id.ID, key *ftCrypto.TransferKey, ...@@ -108,7 +108,7 @@ func (s *Sent) AddTransfer(recipient *id.ID, key *ftCrypto.TransferKey,
_, exists := s.transfers[*tid] _, exists := s.transfers[*tid]
if exists { if exists {
return nil, errors.Errorf(errAddExistingSentTransfer, tid) return nil, errors.Errorf(errAddExistingSentTransfer, *tid)
} }
st, err := newSentTransfer( st, err := newSentTransfer(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment