lib/peatio/bitgo/wallet.rb in peatio-bitgo-2.5.1 vs lib/peatio/bitgo/wallet.rb in peatio-bitgo-2.5.2
- old
+ new
@@ -159,11 +159,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