Method: Hive::Broadcast.recover_account
- Defined in:
- lib/hive/broadcast.rb
.recover_account(options, &block) ⇒ Object
917 918 919 920 921 922 923 924 925 926 |
# File 'lib/hive/broadcast.rb', line 917 def self.recover_account(, &block) required_fields = %i(account_to_recover new_owner_authority recent_owner_authority) params = [:params] check_required_fields(params, *required_fields) params[:extensions] ||= [] ops = [[:recover_account, params]] process(.merge(ops: ops), &block) end |