diff --git a/app/models/address.rb b/app/models/address.rb index 4381be719..0f734c8d2 100644 --- a/app/models/address.rb +++ b/app/models/address.rb @@ -17,8 +17,8 @@ class Address < ApplicationRecord has_one :bitcoin_address_mapping, foreign_key: "ckb_address_id" has_one :bitcoin_address, through: :bitcoin_address_mapping - validates :balance, :cell_consumed, :ckb_transactions_count, :interest, :dao_deposit, - numericality: { greater_than_or_equal_to: 0 }, allow_nil: true + # validates :balance, :cell_consumed, :ckb_transactions_count, :interest, :dao_deposit, + # numericality: { greater_than_or_equal_to: 0 }, allow_nil: true validates :lock_hash, presence: true, uniqueness: true scope :visible, -> { where(visible: true) }