From 7023938846ded9c4cd2d26ede5e375378ea520ea Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Fri, 12 Mar 2021 16:45:55 -0600 Subject: [PATCH] mempool: Remove unused field from test struct. --- internal/mempool/mempool_test.go | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/internal/mempool/mempool_test.go b/internal/mempool/mempool_test.go index 124a298e..beefd7ee 100644 --- a/internal/mempool/mempool_test.go +++ b/internal/mempool/mempool_test.go @@ -41,16 +41,15 @@ const ( // transactions to be appear as though they are spending completely valid utxos. type fakeChain struct { sync.RWMutex - nextStakeDiff int64 - utxos *blockchain.UtxoViewpoint - utxoTimes map[wire.OutPoint]int64 - blocks map[chainhash.Hash]*dcrutil.Block - currentHash chainhash.Hash - currentHeight int64 - medianTime time.Time - scriptFlags txscript.ScriptFlags - acceptSeqLocks bool - tspendMined map[chainhash.Hash]struct{} + nextStakeDiff int64 + utxos *blockchain.UtxoViewpoint + utxoTimes map[wire.OutPoint]int64 + blocks map[chainhash.Hash]*dcrutil.Block + currentHash chainhash.Hash + currentHeight int64 + medianTime time.Time + scriptFlags txscript.ScriptFlags + tspendMined map[chainhash.Hash]struct{} } // NextStakeDifficulty returns the next stake difficulty associated with the