From 99c6375605eef690bf127a245c41dff1981414f0 Mon Sep 17 00:00:00 2001 From: Luke Parker Date: Sun, 3 Dec 2023 00:06:13 -0500 Subject: [PATCH] fmt --- processor/src/networks/bitcoin.rs | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/processor/src/networks/bitcoin.rs b/processor/src/networks/bitcoin.rs index 94f2d7c3..b0c37b56 100644 --- a/processor/src/networks/bitcoin.rs +++ b/processor/src/networks/bitcoin.rs @@ -320,9 +320,18 @@ fn scanner( kinds.insert(offset_ref.to_vec(), kind); }; - register(OutputType::Branch, *BRANCH_OFFSET.get_or_init(|| Secp256k1::hash_to_F(KEY_DST, b"branch"))); - register(OutputType::Change, *CHANGE_OFFSET.get_or_init(|| Secp256k1::hash_to_F(KEY_DST, b"change"))); - register(OutputType::Forwarded, *FORWARD_OFFSET.get_or_init(|| Secp256k1::hash_to_F(KEY_DST, b"forward"))); + register( + OutputType::Branch, + *BRANCH_OFFSET.get_or_init(|| Secp256k1::hash_to_F(KEY_DST, b"branch")), + ); + register( + OutputType::Change, + *CHANGE_OFFSET.get_or_init(|| Secp256k1::hash_to_F(KEY_DST, b"change")), + ); + register( + OutputType::Forwarded, + *FORWARD_OFFSET.get_or_init(|| Secp256k1::hash_to_F(KEY_DST, b"forward")), + ); (scanner, offsets, kinds) }