mirror of
https://github.com/kevachat/kevacoin-php.git
synced 2025-01-22 04:24:28 +00:00
fix kevaPut response
This commit is contained in:
parent
49dd808e25
commit
b6e5416c58
@ -340,9 +340,9 @@ class Client
|
||||
|
||||
$response = $this->_execute();
|
||||
|
||||
if (!empty($response['txid']) && is_string($response['txid']))
|
||||
if (!empty($response['result']) && !empty($response['result']['txid']) && is_string($response['result']['txid']))
|
||||
{
|
||||
return $response['txid'];
|
||||
return $response['result']['txid'];
|
||||
}
|
||||
|
||||
return null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user