lib/peatio/bitgo/wallet.rb in peatio-bitgo-2.6.3 vs lib/peatio/bitgo/wallet.rb in peatio-bitgo-2.6.4
- old
+ new
@@ -162,11 +162,10 @@
currency_id: @currency.fetch(:id),
amount: convert_from_base_unit(entry['valueString']),
hash: normalize_txid(response['txid']),
to_address: to_address,
block_number: response['height'],
- # TODO: Add sendmany support
- txout: 0,
+ txout: response['index'].to_i,
status: state
)
transaction if transaction.valid?
end.compact