Skip to content

Commit

Permalink
fix(btcreleaseclient): avoid shadowing receipt store instance variable
Browse files Browse the repository at this point in the history
  • Loading branch information
apancorb committed Nov 1, 2024
1 parent ffee1ca commit ec4198d
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -741,8 +741,6 @@ void onBestBlock_whenOnlySvpSpendTxWaitingForSignaturesIsAvailable_shouldAddSign
mock(ReceiptStore.class)
);

ReceiptStore receiptStore = mock(ReceiptStore.class);

Keccak256 blockHash = createHash(2);
Block block = mock(Block.class);
TransactionReceipt txReceipt = mock(TransactionReceipt.class);
Expand Down Expand Up @@ -834,8 +832,6 @@ void onBestBlock_whenPegoutTxIsNotReadyToBeSigned_shouldNotAddSignature() throws
mock(ReceiptStore.class)
);

ReceiptStore receiptStore = mock(ReceiptStore.class);

Keccak256 blockHash = createHash(2);
Block block = mock(Block.class);
TransactionReceipt txReceipt = mock(TransactionReceipt.class);
Expand Down

0 comments on commit ec4198d

Please sign in to comment.