lib/peatio/bitgo/wallet.rb in peatio-bitgo-1.1.2 vs lib/peatio/bitgo/wallet.rb in peatio-bitgo-1.1.3
- old
+ new
@@ -81,10 +81,11 @@
txid = client.rest_api(:post, "#{currency_id}/wallet/#{wallet_id}/sendcoins", {
address: transaction.to_address.to_s,
amount: amount.to_s,
walletPassphrase: bitgo_wallet_passphrase,
gas: options.fetch(:gas_limit).to_i,
- gasPrice: options.fetch(:gas_price).to_i
+ gasPrice: options.fetch(:gas_price).to_i,
+ hop: true
}.compact).fetch('txid')
transaction.hash = normalize_txid(txid)
transaction
end