mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-24 09:25:21 +00:00
Merge pull request #1334 from nspcc-dev/fix-recovery-message-payload-decoding
consensus: payloads from recovery messages are network-dependent too
This commit is contained in:
commit
6cc61099b6
1 changed files with 1 additions and 0 deletions
|
@ -287,6 +287,7 @@ func getVerificationScript(i uint16, validators []crypto.PublicKey) []byte {
|
|||
|
||||
func fromPayload(t messageType, recovery *Payload, p io.Serializable) *Payload {
|
||||
return &Payload{
|
||||
network: recovery.network,
|
||||
message: &message{
|
||||
Type: t,
|
||||
ViewNumber: recovery.message.ViewNumber,
|
||||
|
|
Loading…
Reference in a new issue