Permalink
Browse files

use deposit channel id as address type

  • Loading branch information...
janx committed Feb 26, 2014
1 parent 1a68d8c commit 327cbc5cf345c91148ab2f10eb0d85336e1cfcd0
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/models/payment_transaction.rb
@@ -34,7 +34,7 @@ def deposit!(raw)
deposit = Deposit.create! \
:state => :done,
:address => self.payment_address.address,
- :address_type => config[:name],
+ :address_type => config[:id],
:currency => config[:currency],
:address_label => "daemon",
:account_id => self.account.id,

0 comments on commit 327cbc5

Please sign in to comment.