aceat64/EasyBitcoin-PHP

bitcoind won't send bitcoins from wallet

riksanches opened this issue · 2 comments

I'm using library for PHP https://github.com/aceat64/EasyBitcoin-PHP

I'm trying to unlock wallet using

`<?php

require 'func/ezbtc.php';

$bitcoin = new Bitcoin('admin','admin', 'localhost', '7788');

$bitcoin->walletpassphrase('PASSWORD', '30');

?>`

Instead of PASSWORD there is real password for wallet.

But when I try to send some bitcoins to another wallet it just not working.
No errors, nothing.

What's wrong?

var_dump($bitcoin->sendtoaddress('1Headz2mYtpBRo6KFaaUEtcm5Kce6BZRJM', 0.00000001));

returns bool(false)

Same problem here