diff --git a/src/Server/Ratchet.php b/src/Server/Ratchet.php index a1757c6..d6a6f07 100644 --- a/src/Server/Ratchet.php +++ b/src/Server/Ratchet.php @@ -202,14 +202,14 @@ class Ratchet implements MessageComponentInterface { // Return success response $connection->send( - str_replace( + str_ireplace( [ '{name}', '{txid}' ], [ - $this->_config->kevacoin->wallet->namespace, - $txid + (string) $this->_config->kevacoin->wallet->namespace, + (string) $txid ], implode( PHP_EOL,