lib/berycoin/gem.rb in berycoin-gem-0.1.2 vs lib/berycoin/gem.rb in berycoin-gem-0.1.3

- old
+ new

@@ -258,13 +258,19 @@ H.getaddressesbyaccount(account) end def Wallet.getbalance H.getbalance end + def Wallet.getbalance(account) + H.getbalance account + end def Wallet.getnewaddress H.getnewaddress end + def Wallet.getnewaddress(account) + H.getnewaddress account + end def Wallet.getrawchangeaddress H.getrawchangeaddress end def Wallet.getreceivedbyaccount(account) H.getreceivedbyaccount account @@ -333,11 +339,11 @@ H.sendfrom(fromaccount,toberycoinaddress,amount) end def Wallet.sendmany(fromaccount, json) H.sendmany(fromaccount, json) end - def Wallet.sendtoaddress(berycoinaddress,account) - H.sendtoaddress(berycoinaddress,account) + def Wallet.sendtoaddress(berycoinaddress,amount) + H.sendtoaddress(berycoinaddress,amount) end def Wallet.setaccount(berycoinaddress,account) H.setaccount(berycoinaddress,account) end def Wallet.settxfee(amount) \ No newline at end of file