Merge pull request #1581 from filecoin-project/fix/send-msg-cid
make send print its cid
This commit is contained in:
commit
c4302ddc1f
@ -92,11 +92,13 @@ var sendCmd = &cli.Command{
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
fmt.Println(sm.Cid())
|
||||
} else {
|
||||
_, err = api.MpoolPushMessage(ctx, msg)
|
||||
sm, err := api.MpoolPushMessage(ctx, msg)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
fmt.Println(sm.Cid())
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user