Rename bob::Message2 to Message5

As per the proposed changed in the sequence diagram.
The aim is to have a unique terminology per message instead of having
the same name for 2 consequent messages that share the same behaviour.

Note that the aim is to remove the shared `RequestResponse` behaviours.
This commit is contained in:
Franck Royer 2021-01-22 10:12:36 +11:00
parent 91fe18a796
commit 9a5e35c1bd
No known key found for this signature in database
GPG key ID: A82ED75A8DFC50A4
10 changed files with 58 additions and 57 deletions

View file

@ -146,7 +146,7 @@ pub async fn wait_for_bitcoin_encrypted_signature(
event_loop_handle: &mut EventLoopHandle,
) -> Result<EncryptedSignature> {
let msg3 = event_loop_handle
.recv_message3()
.recv_message5()
.await
.context("Failed to receive Bitcoin encrypted signature from Bob")?;