objects/item.rb
# Removes the used BTC address entirely (when funds received).
Removes the used BTC address entirely (when funds received).
Removes the used BTC address entirely ( when funds received ) .
def destroy_btc
    item = read
    item.delete('btc')
    item['active'] = 0
    @aws.put_item(table_name: 'zold-wallets', item: item)
  end
def destroy_btc item = read item . delete ( 'btc' ) item [ 'active' ] = 0 @aws . put_item ( table_name : 'zold-wallets' , item : item ) end
Removes the used BTC address entirely (when funds received).
Removes the used BTC address entirely ( when funds received ) .