diff --git a/common/db_test.go b/common/db_test.go index 58575d5163..57b3c71a55 100644 --- a/common/db_test.go +++ b/common/db_test.go @@ -304,7 +304,7 @@ func TestDBClaims(t *testing.T) { return } if nbreceipts != 2 { - t.Error("Mismatched receipts for claim: expected 2 got %d", nbreceipts) + t.Errorf("Mismatched receipts for claim: expected 2 got %d", nbreceipts) return } // check job 0 claim 1 @@ -315,7 +315,7 @@ func TestDBClaims(t *testing.T) { return } if nbreceipts != 2 { - t.Error("Mismatched receipts for claim: expected 2 got %d", nbreceipts) + t.Errorf("Mismatched receipts for claim: expected 2 got %d", nbreceipts) return } // check job 1 claim 0 @@ -326,7 +326,7 @@ func TestDBClaims(t *testing.T) { return } if nbreceipts != 2 { - t.Error("Mismatched receipts for claim: expected 2 got %d", nbreceipts) + t.Errorf("Mismatched receipts for claim: expected 2 got %d", nbreceipts) return } // Sanity check number of claims diff --git a/core/livepeernode.go b/core/livepeernode.go index b457eec8bf..65ede63008 100644 --- a/core/livepeernode.go +++ b/core/livepeernode.go @@ -43,7 +43,7 @@ var EthMinedTxTimeout = 60 * time.Second var DefaultMasterPlaylistWaitTime = 60 * time.Second var DefaultJobLength = int64(5760) //Avg 1 day in 15 sec blocks var ConnFileWriteFreq = time.Duration(60) * time.Second -var LivepeerVersion = "0.2.3-unstable" +var LivepeerVersion = "0.2.4-unstable" var SubscribeRetry = uint64(3) //NodeID can be converted from libp2p PeerID. diff --git a/core/livepeernode_test.go b/core/livepeernode_test.go index 1cfad6ff3f..2fbc1e13ac 100644 --- a/core/livepeernode_test.go +++ b/core/livepeernode_test.go @@ -117,7 +117,7 @@ func TestNodeClaimManager(t *testing.T) { n.ClaimManagers[15] = &StubClaimManager{} cm, err := n.GetClaimManager(job) if err != nil || cm == nil { - t.Error("Did not retrieve claimmanager ", cm, err) + t.Errorf("Did not retrieve claimmanager %v %v", cm, err) return } @@ -126,7 +126,7 @@ func TestNodeClaimManager(t *testing.T) { // test with a nil eth client cm, err = n.GetClaimManager(job) if err != nil || cm != nil { - t.Error("Claimmanager unexpected result %v %v", cm, err) + t.Errorf("Claimmanager unexpected result %v %v", cm, err) return }