class Glueby::Internal::Wallet::ActiveRecordWalletAdapter::Syncer

Public Instance Methods

tx_sync(tx) click to toggle source
# File lib/glueby/internal/wallet/active_record_wallet_adapter/syncer.rb, line 6
def tx_sync(tx)
  Glueby::Internal::Wallet::AR::Utxo.destroy_for_inputs(tx)
  Glueby::Internal::Wallet::AR::Utxo.create_or_update_for_outputs(tx)
end