class TezosClient::Tools::HashToMicheline::Signature

Public Instance Methods

encode() click to toggle source
# File lib/tezos_client/tools/hash_to_micheline/signature.rb, line 7
def encode
  raise "#{data} does not seem to be a signature" unless data.start_with?("edsig")
  { string: data }
end