Method: Bitcoin::Descriptor::SortedMulti#to_script
- Defined in:
- lib/bitcoin/descriptor/sorted_multi.rb
#to_script ⇒ Object
10 11 12 |
# File 'lib/bitcoin/descriptor/sorted_multi.rb', line 10 def to_script Script.to_multisig_script(threshold, keys.map{|key| extract_pubkey(key).pubkey }, sort: true) end |