mirror of
https://github.com/serai-dex/serai.git
synced 2024-11-16 17:07:35 +00:00
fmt
This commit is contained in:
parent
6e8a5f9cb1
commit
99c6375605
1 changed files with 12 additions and 3 deletions
|
@ -320,9 +320,18 @@ fn scanner(
|
||||||
kinds.insert(offset_ref.to_vec(), kind);
|
kinds.insert(offset_ref.to_vec(), kind);
|
||||||
};
|
};
|
||||||
|
|
||||||
register(OutputType::Branch, *BRANCH_OFFSET.get_or_init(|| Secp256k1::hash_to_F(KEY_DST, b"branch")));
|
register(
|
||||||
register(OutputType::Change, *CHANGE_OFFSET.get_or_init(|| Secp256k1::hash_to_F(KEY_DST, b"change")));
|
OutputType::Branch,
|
||||||
register(OutputType::Forwarded, *FORWARD_OFFSET.get_or_init(|| Secp256k1::hash_to_F(KEY_DST, b"forward")));
|
*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)
|
(scanner, offsets, kinds)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue