make send print its cid
This commit is contained in:
parent
c64dbfcf40
commit
42c5c6b4e4
@ -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