Skip to content

Commit fe262cf

Browse files
committed
[FAB-2588] Fix unkeyed fields in composite literal
https://jira.hyperledger.org/browse/FAB-2588 Change-Id: I9f4587e08eb99f1e1abf0178537f968aee7179e4 Signed-off-by: Kostas Christidis <[email protected]>
1 parent 6509afd commit fe262cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orderer/sbft_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func TestSbftPeer(t *testing.T) {
106106
keyFile := "sbft/testdata/key.pem"
107107
cons := &simplebft.Config{N: 1, F: 0, BatchDurationNsec: 1000, BatchSizeBytes: 1000000000, RequestTimeoutNsec: 1000000000}
108108
c := &sbft.ConsensusConfig{Consensus: cons, Peers: peers}
109-
sc := &backend.StackConfig{listenAddr, certFile, keyFile, dataTmpDir}
109+
sc := &backend.StackConfig{ListenAddr: listenAddr, CertFile: certFile, KeyFile: keyFile, DataDir: dataTmpDir}
110110
sbftConsenter := sbft.New(c, sc)
111111
<-time.After(5 * time.Second)
112112
// End SBFT

0 commit comments

Comments
 (0)