Skip to content

Commit

Permalink
Save only at the end.
Browse files Browse the repository at this point in the history
  • Loading branch information
molnard committed Jun 9, 2023
1 parent 9852bfa commit 68567ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion WalletWasabi/WabiSabi/Client/CoinJoinManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -513,8 +513,9 @@ private async Task MarkDestinationsUsedAsync(ImmutableList<Script> outputs)
foreach (var hdPubKey in w.KeyManager.GetKeys(key => scripts.Any(key.ContainsScript)))
{
w.KeyManager.SetKeyState(state, hdPubKey);
w.KeyManager.ToFile();
}

w.KeyManager.ToFile();
}
else
{
Expand Down

0 comments on commit 68567ea

Please sign in to comment.