Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
azuchi committed Jul 8, 2024
1 parent 43688ca commit 4e8ce3c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/bitcoin/taproot/simple_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -113,12 +113,6 @@ def inclusion_proof(leaf)

private

# Compute tweak from script tree.
# @return [String] tweak with binary format.
def tweak
Taproot.tweak(Bitcoin::Key.from_xonly_pubkey(internal_key), merkle_root)
end

# Calculate merkle root from branches.
# @return [String] merkle root with hex format.
def merkle_root
Expand Down

0 comments on commit 4e8ce3c

Please sign in to comment.