1
0
Fork 0
This commit is contained in:
Alex Kotov 2021-03-10 16:38:14 +05:00
parent 376d148034
commit 869381d648

View file

@ -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