Remove Peerstate.to_save

This commit is contained in:
link2xt
2022-11-25 22:55:31 +00:00
parent c7691fbebe
commit 98c16ddc4d
5 changed files with 19 additions and 50 deletions

View File

@@ -341,7 +341,6 @@ async fn mark_as_verified(this: &TestContext, other: &TestContext) {
peerstate.verified_key = peerstate.public_key.clone();
peerstate.verified_key_fingerprint = peerstate.public_key_fingerprint.clone();
peerstate.to_save = true;
peerstate.save_to_db(&this.sql).await.unwrap();
}