fix bug when uploading wallet
This commit is contained in:
parent
75628d8530
commit
23690731af
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ func (s *Sync) stopAndUploadWallet(e *error) {
|
|||
err := s.uploadWallet()
|
||||
if err != nil {
|
||||
if *e == nil {
|
||||
e = &err
|
||||
*e = err
|
||||
} else {
|
||||
*e = errors.Prefix("failure uploading wallet", *e)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue