File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -127,12 +127,11 @@ export class PolymarketRedemption {
127127 const conditionIdBytes32 = this . formatConditionId ( conditionId ) ;
128128
129129 // Get payout numerators for both outcomes (0 and 1)
130- const [ numerator0 , numerator1 ] : [ BigNumber , BigNumber ] = await Promise . all (
131- [
130+ const [ numerator0 , numerator1 ] : [ BigNumber , BigNumber ] =
131+ await Promise . all ( [
132132 ctf . payoutNumerators ( conditionIdBytes32 , 0 ) ,
133133 ctf . payoutNumerators ( conditionIdBytes32 , 1 ) ,
134- ] ,
135- ) ;
134+ ] ) ;
136135
137136 // Build array of winning index sets
138137 // Index set 1 = outcome 0, Index set 2 = outcome 1
@@ -249,7 +248,8 @@ export class PolymarketRedemption {
249248 } ) ;
250249 } else {
251250 // For regular CTF markets
252- const winningIndexSets = await this . getWinningIndexSets ( conditionIdBytes32 ) ;
251+ const winningIndexSets =
252+ await this . getWinningIndexSets ( conditionIdBytes32 ) ;
253253
254254 if ( winningIndexSets . length === 0 ) {
255255 return {
You can’t perform that action at this time.
0 commit comments