From fb2fa4b4c7b3a72360926c4d300cd0ce0056dc54 Mon Sep 17 00:00:00 2001 From: stringhandler Date: Wed, 18 Jan 2023 18:21:12 +0200 Subject: [PATCH] fix: add burnt utxos to side chain query (#5125) Description --- Add burnt UTXOs to the list of sidechain UTXOs that the second layer queries Motivation and Context --- The second layer queries only sidechain-relevant UTXOs. Burns were excluded, but need to be included in order to be scanned How Has This Been Tested? --- Manual testing with second layer scanner --- .../core/src/transactions/transaction_components/output_type.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_layer/core/src/transactions/transaction_components/output_type.rs b/base_layer/core/src/transactions/transaction_components/output_type.rs index c85af8ad24..8ca167c412 100644 --- a/base_layer/core/src/transactions/transaction_components/output_type.rs +++ b/base_layer/core/src/transactions/transaction_components/output_type.rs @@ -82,7 +82,7 @@ impl OutputType { pub fn is_sidechain_type(&self) -> bool { matches!( self, - OutputType::ValidatorNodeRegistration | OutputType::CodeTemplateRegistration + OutputType::ValidatorNodeRegistration | OutputType::CodeTemplateRegistration | OutputType::Burn ) } }