1
0
Fork 0
master
Alex Kotov 2 years ago
parent 376d148034
commit 869381d648
  1. 4
      app/models/address.rb

@ -18,10 +18,10 @@ class Address < ApplicationRecord
end
def add_to_wallet
AddAddressToWallet.perform_later self unless added_to_wallet?
AddAddressToWalletJob.perform_later self unless added_to_wallet?
end
def update_op_return
UpdateAddressOpReturn.perform_later self if update_op_return?
UpdateAddressOpReturnJob.perform_later self if update_op_return?
end
end