consensus: provide message type and view inside RecoveryMessage
PrepareRequest inside RecoveryMessage should contain both message type and view.
This commit is contained in:
parent
14f557026c
commit
ee8514d88b
3 changed files with 34 additions and 5 deletions
|
@ -290,7 +290,10 @@ func randomRecoveryMessage(t *testing.T) *recoveryMessage {
|
|||
InvocationScript: fillRandom(t, make([]byte, 4)),
|
||||
},
|
||||
},
|
||||
prepareRequest: prepReq,
|
||||
prepareRequest: &message{
|
||||
Type: prepareRequestType,
|
||||
payload: prepReq,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue