File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -986,10 +986,6 @@ func (s *StackManager) runFirstTimeSetup(options *types.StartOptions) (messages
986986 return messages , err
987987 }
988988
989- if err := s .peerIPFSNodes (); err != nil {
990- return messages , err
991- }
992-
993989 for i , tp := range s .tokenProviders {
994990 if ! s .Stack .DisableTokenFactories {
995991 result , err := tp .DeploySmartContracts (i )
@@ -1106,6 +1102,13 @@ func (s *StackManager) runFirstTimeSetup(options *types.StartOptions) (messages
11061102 return messages , err
11071103 }
11081104
1105+ // Peer the IPFS nodes on the finalized containers, after the config
1106+ // restart above, so peering is applied to the containers that will keep
1107+ // running rather than relying on it surviving the restart.
1108+ if err := s .peerIPFSNodes (); err != nil {
1109+ return messages , err
1110+ }
1111+
11091112 if s .Stack .MultipartyEnabled {
11101113 if s .Stack .ContractAddress == "" {
11111114 s .Log .Info ("registering FireFly identities" )
You can’t perform that action at this time.
0 commit comments