From b6e5416c58d379fd197bbd6d1039a30042ea0481 Mon Sep 17 00:00:00 2001 From: ghost Date: Wed, 6 Dec 2023 11:20:08 +0200 Subject: [PATCH] fix kevaPut response --- src/Client.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Client.php b/src/Client.php index 7b5a84b..c6ca878 100644 --- a/src/Client.php +++ b/src/Client.php @@ -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;