multi: Cleanup superfluous trailing newlines.
This commit is contained in:
parent
70b399c9e4
commit
3e2ccdc6c8
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2017 The btcsuite developers
|
||||
// Copyright (c) 2019-2020 The Decred developers
|
||||
// Copyright (c) 2019-2023 The Decred developers
|
||||
// Use of this source code is governed by an ISC
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
@ -522,7 +522,6 @@ func TestConvertBitsFailures(t *testing.T) {
|
||||
tc.err, err)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// BenchmarkConvertBitsDown benchmarks the speed and memory allocation behavior
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2015-2022 The Decred developers
|
||||
// Copyright (c) 2015-2023 The Decred developers
|
||||
// Use of this source code is governed by an ISC
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
@ -858,7 +858,6 @@ func TestSSGenErrors(t *testing.T) {
|
||||
if IsSSGen(ssgenInvalidTVote3.MsgTx()) {
|
||||
t.Errorf("IsSSGen claimed an invalid ssgen is valid")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// TestSSGenTreasuryVotes verifies that valid treasury votes return hashes.
|
||||
|
||||
@ -1044,7 +1044,6 @@ func TestTSpendGenerated(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatalf("checkTSpend: %v", err)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func TestTSpendErrors(t *testing.T) {
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2019-2022 The Decred developers
|
||||
// Copyright (c) 2019-2023 The Decred developers
|
||||
// Use of this source code is governed by an ISC
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
@ -151,7 +151,6 @@ func TestIsCoinbaseTx(t *testing.T) {
|
||||
test.name, result, test.wantPostTrsy)
|
||||
continue
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -2223,7 +2223,6 @@ func (b *BlockChain) checkBlockContext(block *dcrutil.Block, prevNode *blockNode
|
||||
str := fmt.Sprintf("block contains unfinalized stake "+
|
||||
"transaction %v", stx.Hash())
|
||||
return ruleError(ErrUnfinalizedTx, str)
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -3882,7 +3881,6 @@ func (b *BlockChain) checkTransactionsAndConnect(inputFees dcrutil.Amount,
|
||||
subsidyTax)
|
||||
return ruleError(ErrBadTreasurybaseAmountIn, errStr)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if len(txs) == 0 &&
|
||||
|
||||
@ -1172,7 +1172,6 @@ func TestExplicitVerUpgradesSemantics(t *testing.T) {
|
||||
regSpendTx = g.CreateSpendTx(®Spend, lowFee)
|
||||
regSpendTx.TxIn[0].SignatureScript = nil
|
||||
b.AddTransaction(regSpendTx)
|
||||
|
||||
})
|
||||
g.AcceptTipBlock()
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2020 The Decred developers
|
||||
// Copyright (c) 2020-2023 The Decred developers
|
||||
// Use of this source code is governed by an ISC
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
@ -108,7 +108,6 @@ func TestWaitGroup(t *testing.T) {
|
||||
t.Fatalf("Wait() should've returned")
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
}, {
|
||||
name: "Wait() after Add(0) returns immediately",
|
||||
@ -137,7 +136,6 @@ func TestWaitGroup(t *testing.T) {
|
||||
if !waitReturned(c) {
|
||||
t.Fatalf("Second usage of Wait() after Done() should return")
|
||||
}
|
||||
|
||||
},
|
||||
}, {
|
||||
name: "negative Add() panics",
|
||||
|
||||
@ -816,7 +816,6 @@ cleanup:
|
||||
}
|
||||
c.wg.Done()
|
||||
log.Tracef("RPC client send handler done for %s", c.config.Host)
|
||||
|
||||
}
|
||||
|
||||
// sendPostRequest sends the passed HTTP request to the RPC server using the
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
// Copyright (c) 2014-2016 The btcsuite developers
|
||||
// Copyright (c) 2015-2022 The Decred developers
|
||||
// Copyright (c) 2015-2023 The Decred developers
|
||||
// Use of this source code is governed by an ISC
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
@ -388,7 +388,6 @@ func (r *FutureSubmitBlockResult) Receive() error {
|
||||
}
|
||||
|
||||
return nil
|
||||
|
||||
}
|
||||
|
||||
// SubmitBlockAsync returns an instance of a type that can be used to get the
|
||||
|
||||
Loading…
Reference in New Issue
Block a user