Rename EncSign to EncSig

`EncSig` means "encrypted signature", the item,
not be confused with "signing", the action
This commit is contained in:
Franck Royer 2020-12-22 14:53:21 +11:00
parent 9c83ca52ad
commit 405e377f79
No known key found for this signature in database
GPG key ID: A82ED75A8DFC50A4
3 changed files with 14 additions and 14 deletions

View file

@ -108,13 +108,13 @@ async fn given_alice_restarts_after_encsig_is_learned_resume_swap() {
.await
.unwrap();
assert!(matches!(alice_state, AliceState::EncSignLearned {..}));
assert!(matches!(alice_state, AliceState::EncSigLearned {..}));
let alice_db = Database::open(alice_db_datadir.path()).unwrap();
let state_before_restart = alice_db.get_state(alice_swap_id).unwrap();
if let swap::state::Swap::Alice(state) = state_before_restart.clone() {
assert!(matches!(state, swap::state::Alice::EncSignLearned {..}));
assert!(matches!(state, swap::state::Alice::EncSigLearned {..}));
}
let (mut event_loop_after_restart, event_loop_handle_after_restart) =