opt: cli: If present, print Events Root
This commit is contained in:
parent
bd85a6a72f
commit
3207c69528
@ -1528,6 +1528,9 @@ func printMsg(ctx context.Context, api v0api.FullNode, msg cid.Cid, mw *lapi.Msg
|
|||||||
if err := printReceiptReturn(ctx, api, m, mw.Receipt); err != nil {
|
if err := printReceiptReturn(ctx, api, m, mw.Receipt); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
if mw.Receipt.EventsRoot != nil {
|
||||||
|
fmt.Printf("Events Root: %s\n", mw.Receipt.EventsRoot)
|
||||||
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user