Skip to content

Commit

Permalink
Merge "Rename noopsinglechain client"
Browse files Browse the repository at this point in the history
  • Loading branch information
yacovm authored and Gerrit Code Review committed Jan 10, 2017
2 parents 894febf + 082bf0c commit 8895179
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package noopssinglechain
package deliverclient

import (
"math"
Expand Down
10 changes: 5 additions & 5 deletions peer/node/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"github.com/hyperledger/fabric/core"
"github.com/hyperledger/fabric/core/chaincode"
"github.com/hyperledger/fabric/core/comm"
"github.com/hyperledger/fabric/core/committer/noopssinglechain"
"github.com/hyperledger/fabric/core/deliverservice"
"github.com/hyperledger/fabric/core/endorser"
"github.com/hyperledger/fabric/core/ledger/ledgermgmt"
"github.com/hyperledger/fabric/core/peer"
Expand Down Expand Up @@ -174,14 +174,14 @@ func serve(args []string) error {
panic(fmt.Sprintf("Unable to get committer for [%s]", chainID))
}

//this shoul not need the chainID. Delivery should be
//this should not need the chainID. Delivery should be
//split up into network part and chain part. This should
//only init the network part...TBD, part of Join work
deliverService := noopssinglechain.NewDeliverService(chainID)
deliver := deliverclient.NewDeliverService(chainID)

deliverService.Start(commit)
deliver.Start(commit)

defer noopssinglechain.StopDeliveryService(deliverService)
defer deliverclient.StopDeliveryService(deliver)
}

logger.Infof("Starting peer with ID=%s, network ID=%s, address=%s",
Expand Down

0 comments on commit 8895179

Please sign in to comment.