[NOD-1218] KaspadMessage_Pong.toWireMessage should return MsgPong, not MsgPing (#841)

This commit is contained in:
Svarog 2020-08-03 18:18:06 +03:00 committed by GitHub
parent da90755530
commit 966cba4a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,7 +5,7 @@ import (
) )
func (x *KaspadMessage_Pong) toWireMessage() (wire.Message, error) { func (x *KaspadMessage_Pong) toWireMessage() (wire.Message, error) {
return &wire.MsgPing{ return &wire.MsgPong{
Nonce: x.Pong.Nonce, Nonce: x.Pong.Nonce,
}, nil }, nil
} }