Merge pull request #1117 from ajochems/next
gettransaction query not working
This commit is contained in:
commit
253fe0b159
@ -774,7 +774,7 @@ class BitcoinClient extends jsonrpc_client {
|
||||
public function gettransaction($txid) {
|
||||
if (!$txid || empty($txid) || strlen($txid) != 64 || !preg_match('/^[0-9a-fA-F]+$/', $txid))
|
||||
throw new BitcoinClientException("gettransaction requires a valid hexadecimal transaction ID");
|
||||
return $this->query("getttransaction", $txid);
|
||||
return $this->query("gettransaction", $txid);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user