mpool: Return CID in MpoolPush

This commit is contained in:
Łukasz Magiera
2020-01-07 21:10:30 -08:00
committed by whyrusleeping
parent f019b80af0
commit a11e8093e5
5 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ func (a *MpoolAPI) MpoolPending(ctx context.Context, ts *types.TipSet) ([]*types
}
}
func (a *MpoolAPI) MpoolPush(ctx context.Context, smsg *types.SignedMessage) error {
func (a *MpoolAPI) MpoolPush(ctx context.Context, smsg *types.SignedMessage) (cid.Cid, error) {
return a.Mpool.Push(smsg)
}