File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/cli/package/src/lib/chain/offer Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -121,10 +121,6 @@ export async function updateOffers(flags: OffersArgs) {
121121 return ;
122122 }
123123
124- for ( const { addMissingComputePeers } of offersToAddCPsTo ) {
125- await addMissingComputePeers . execute ( ) ;
126- }
127-
128124 if ( firstUpdateOffersTx !== undefined ) {
129125 await signBatch ( {
130126 title : `Updating offers:\n\n${ populatedOffersTxs
@@ -137,6 +133,10 @@ export async function updateOffers(flags: OffersArgs) {
137133 } ) ;
138134 }
139135
136+ for ( const { addMissingComputePeers } of offersToAddCPsTo ) {
137+ await addMissingComputePeers . execute ( ) ;
138+ }
139+
140140 const peersToDeploy = populatedOffersTxs . flatMap ( ( { txs } ) => {
141141 return txs . flatMap ( ( { peersToDeploy } ) => {
142142 return peersToDeploy ?? [ ] ;
@@ -1073,7 +1073,7 @@ function printOffersToUpdateInfo(
10731073 return [
10741074 `Offer ${ color . green ( offerName ) } with id ${ color . yellow (
10751075 offerId ,
1076- ) } :\n\n${ [ addMissingComputePeersMessage , allTxsMessage ] . filter ( Boolean ) . join ( "\n" ) } \n`,
1076+ ) } :\n\n${ [ allTxsMessage , addMissingComputePeersMessage ] . filter ( Boolean ) . join ( "\n" ) } \n`,
10771077 ] ;
10781078 } ,
10791079 )
You can’t perform that action at this time.
0 commit comments