Skip to content

Commit

Permalink
avoid race for test in core
Browse files Browse the repository at this point in the history
  • Loading branch information
buck54321 committed Oct 15, 2024
1 parent 6420232 commit 9f3ae9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/core/core_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3031,7 +3031,7 @@ func trade(t *testing.T, async bool) {

setWalletSyncStatus := func(w *xcWallet, status bool) {
w.mtx.Lock()
w.syncStatus.Synced = status
w.syncStatus = &asset.SyncStatus{Synced: status}
w.mtx.Unlock()
}

Expand Down

0 comments on commit 9f3ae9f

Please sign in to comment.