Bitcoin Forum
May 18, 2022, 03:33:28 AM *
News: Latest Bitcoin Core release: 23.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4]  All
  Print  
Author Topic: JSON-RPC password  (Read 36528 times)
NghtRppr
Sr. Member
****
Offline Offline

Activity: 490
Merit: 252


Elder Crypto God


View Profile
April 16, 2011, 05:32:51 PM
 #61

Code:
$result2 = $rpc->sendfrom($fromAccount, $toAccount, (float) $amount);

See if this works.

Now it worked! Thanx!

You're welcome. The problem was that you were trying to pass $amount as a string.
Pages: « 1 2 3 [4]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!