Skip to content

Commit

Permalink
Return if the pl is nil in StartElecionInternal, also by more ECs wit…
Browse files Browse the repository at this point in the history
…h R command, and a script change
  • Loading branch information
PaulSnow committed Apr 19, 2018
1 parent 73604df commit 911c9ae
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions common/messages/electionMsgs/startElectionInternal.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ func (m *StartElectionInternal) FollowerExecute(is interfaces.IState) {
pl := s.ProcessLists.Get(m.DBHeight)
if pl == nil {
s.Holding[m.GetHash().Fixed()] = m
return
}
vm := pl.VMs[m.VMIndex]
if vm == nil {
Expand Down
2 changes: 1 addition & 1 deletion engine/loadcreate.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (lg *LoadGenerator) Run() {
return
}
lg.running.Store(true)
fundWallet(fnodes[wsapiNode].State, 15e7)
fundWallet(fnodes[wsapiNode].State, 15000e8)

// Every second add the per second amount
ticker := time.NewTicker(time.Second)
Expand Down
4 changes: 2 additions & 2 deletions scripts/entryloadm2.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash

nchains=10 # number of chains to create
nchains=1 # number of chains to create
nchains2=1 # number of chains to create
nentries=200 # number of entries to add to each chain
nentries=20 # number of entries to add to each chain

#factomd=10.41.2.5:8088
factomd=localhost:8088
Expand Down

0 comments on commit 911c9ae

Please sign in to comment.