Class: Glueby::Internal::Wallet::ActiveRecordWalletAdapter::Syncer
- Inherits:
-
Object
- Object
- Glueby::Internal::Wallet::ActiveRecordWalletAdapter::Syncer
- Defined in:
- lib/glueby/internal/wallet/active_record_wallet_adapter/syncer.rb
Instance Method Summary collapse
Instance Method Details
#tx_sync(tx) ⇒ Object
6 7 8 9 |
# 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 |