Skip to content

Commit

Permalink
Merge branch 'dev' into ceyhun/presign_collection
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyhunsen authored Dec 23, 2024
2 parents b26a8b0 + 7f09b9a commit 3ab0d61
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions core/src/rpc/operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,13 @@ impl ClementineOperator for Operator {
.map(WinternitzPubkey::from_bitvm)
.collect::<Vec<_>>();

// Generate Winternitz public keys and convert them to RPC type.
let winternitz_pubkeys = self.get_winternitz_public_keys()?;
let winternitz_pubkeys = winternitz_pubkeys
.into_iter()
.map(WinternitzPubkey::from_bitvm)
.collect::<Vec<_>>();

let operator_params = clementine::OperatorParams {
operator_details: Some(operator_config),
winternitz_pubkeys,
Expand Down

0 comments on commit 3ab0d61

Please sign in to comment.