fix: pool emitting
This commit is contained in:
@@ -58,9 +58,11 @@ pub fn map_components(
|
||||
})
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
components.extend(emit_specific_pools(¶ms, &block).expect(
|
||||
if let Some(component) = emit_specific_pools(¶ms, &tx).expect(
|
||||
"An unexpected error occured when parsing params for emitting specific pools",
|
||||
));
|
||||
) {
|
||||
components.push(component)
|
||||
}
|
||||
|
||||
if !components.is_empty() {
|
||||
Some(TransactionProtocolComponents {
|
||||
|
||||
Reference in New Issue
Block a user