applyResponseAddReceiptData
applyResponseAddReceiptData
is used internally by Shardus to set the appReceiptData and appReceiptDataHash fields in the resultObject. The function takes in three parameters:
resultObject
- aShardusTypes.ApplyResponse
object generated from theapply
function.appReceiptData
-appReceiptDataHash
-
applyResponseAddReceiptData(
resultObject: ShardusTypes.ApplyResponse,
appReceiptData: any,
appReceiptDataHash: string
) {
resultObject.appReceiptData = appReceiptData
resultObject.appReceiptDataHash = appReceiptDataHash
}