Class: SigMessage

Inherits:
FFI::Struct
  • Object
show all
Defined in:
lib/sr25519_lib.rb

Instance Method Summary collapse

Instance Method Details

#to_sObject

Return the sign message as hex string



61
62
63
# File 'lib/sr25519_lib.rb', line 61

def to_s
  self[:String].to_a.pack("c*").unpack1("H*")
end