mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-07 14:46:44 +00:00
[NOD-1218] KaspadMessage_Pong.toWireMessage should return MsgPong, not MsgPing (#841)
This commit is contained in:
parent
da90755530
commit
966cba4a4e
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user