File tree 1 file changed +5
-5
lines changed
packages/cli/package/src/lib/chain/offer
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) {
121
121
return ;
122
122
}
123
123
124
- for ( const { addMissingComputePeers } of offersToAddCPsTo ) {
125
- await addMissingComputePeers . execute ( ) ;
126
- }
127
-
128
124
if ( firstUpdateOffersTx !== undefined ) {
129
125
await signBatch ( {
130
126
title : `Updating offers:\n\n${ populatedOffersTxs
@@ -137,6 +133,10 @@ export async function updateOffers(flags: OffersArgs) {
137
133
} ) ;
138
134
}
139
135
136
+ for ( const { addMissingComputePeers } of offersToAddCPsTo ) {
137
+ await addMissingComputePeers . execute ( ) ;
138
+ }
139
+
140
140
const peersToDeploy = populatedOffersTxs . flatMap ( ( { txs } ) => {
141
141
return txs . flatMap ( ( { peersToDeploy } ) => {
142
142
return peersToDeploy ?? [ ] ;
@@ -1073,7 +1073,7 @@ function printOffersToUpdateInfo(
1073
1073
return [
1074
1074
`Offer ${ color . green ( offerName ) } with id ${ color . yellow (
1075
1075
offerId ,
1076
- ) } :\n\n${ [ addMissingComputePeersMessage , allTxsMessage ] . filter ( Boolean ) . join ( "\n" ) } \n`,
1076
+ ) } :\n\n${ [ allTxsMessage , addMissingComputePeersMessage ] . filter ( Boolean ) . join ( "\n" ) } \n`,
1077
1077
] ;
1078
1078
} ,
1079
1079
)
You can’t perform that action at this time.
0 commit comments