Skip to content

Commit 2d6c8e0

Browse files
StragaSeveraJacobPlaster
authored andcommitted
Fix currency
1 parent 4554577 commit 2d6c8e0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.0.9
2+
3+
- Fixes bug with API v2 transfer
4+
15
1.0.8
26

37
- Fixes warning about BigDecimal.new deprecation

lib/rest/v2/wallet.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def wallets
2020
# @return [Array] Raw notification
2121
###
2222
def transfer (from, to, currency_from, currency_to, amount)
23-
payload = { :from => from, :to => to, :currency => currency, :currency_to => currency_to, :amount => amount }
23+
payload = { :from => from, :to => to, :currency => currency_from, :currency_to => currency_to, :amount => amount }
2424
authenticated_post("auth/w/transfer", params: payload).body
2525
end
2626

0 commit comments

Comments
 (0)