Dual impl

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera
2019-08-03 13:26:35 +02:00
parent 8e4661e6d2
commit 9577348422
3 changed files with 167 additions and 79 deletions
+2 -1
View File
@@ -111,7 +111,8 @@ func (a *FullNodeAPI) ChainCall(ctx context.Context, msg *types.Message, ts *typ
}
// TODO: maybe just use the invoker directly?
return vmi.ApplyMessage(ctx, msg)
ret, err := vmi.ApplyMessage(ctx, msg)
return &ret.MessageReceipt, err
}
func (a *FullNodeAPI) MpoolPending(ctx context.Context, ts *types.TipSet) ([]*types.SignedMessage, error) {