Skip to content

Commit

Permalink
fix: report pushPrice error in offerStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg authored and mergify[bot] committed Jan 12, 2023
1 parent f816813 commit 73f24e8
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions packages/inter-protocol/src/price/priceAggregatorChainlink.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,14 @@ export const start = async (zcf, privateArgs, baggage) => {
const invitationMakers = Far('invitation makers', {
/** @param {import('./roundsManager.js').PriceRound} result */
PushPrice(result) {
return zcf.makeInvitation(cSeat => {
cSeat.exit();
admin.pushPrice(result);
}, 'PushPrice');
return zcf.makeInvitation(
/** @param {ZCFSeat} cSeat */
async cSeat => {
cSeat.exit();
await admin.pushPrice(result);
},
'PushPrice',
);
},
});
seat.exit();
Expand Down

0 comments on commit 73f24e8

Please sign in to comment.