[#770] pkg/morph/event: Fix typo in AddPeer parser

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2021-08-09 20:09:16 +03:00 committed by Pavel Karpy
parent f0cbf2e99d
commit c87bc70536

View file

@ -31,7 +31,7 @@ func ParseAddPeer(prms []stackitem.Item) (event.Event, error) {
ev.node, err = client.BytesFromStackItem(prms[0])
if err != nil {
return nil, fmt.Errorf("could not get integer epoch number: %w", err)
return nil, fmt.Errorf("could not get raw nodeinfo: %w", err)
}
return ev, nil