Class: TransactionToBlockWorker
- Inherits:
-
ApplicationWorker
- Object
- ApplicationWorker
- TransactionToBlockWorker
- Defined in:
- app/workers/transaction_to_block_worker.rb
Constant Summary
Constants inherited from ApplicationWorker
Instance Method Summary collapse
Methods inherited from ApplicationWorker
Instance Method Details
#perform(receiver_key, sender_key, amount, block_id) ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/workers/transaction_to_block_worker.rb', line 6 def perform(receiver_key, sender_key, amount, block_id) @receiver_key = receiver_key @sender_key = sender_key @amount = amount @block_id = block_id transaction_accepted? end |