Module: NineteenNinetynine::Utils

Defined in:
lib/nineteen_ninetynine/utils.rb

Defined Under Namespace

Classes: CustomAddr

Class Method Summary collapse

Class Method Details

.scripted_pubkey(pubkey) ⇒ Object



5
6
7
8
# File 'lib/nineteen_ninetynine/utils.rb', line 5

def self.scripted_pubkey(pubkey)
  addr = CustomAddr.new(pubkey)
  addr.to_scriptpubkey
end