Merge pull request #10893 from simlecode/opt/output-events-root
opt: cli: If present, print Events Root
This commit is contained in:
commit
6b4a46d273
@ -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