Skip to content

Commit

Permalink
fix compile -> compileCode endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
deemru committed Dec 12, 2023
1 parent 81f4d6f commit 286bc47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WavesKit.php
Original file line number Diff line number Diff line change
Expand Up @@ -1320,7 +1320,7 @@ public function getBlockAt( $height, $headers = false )
*/
public function compile( $script )
{
if( false === ( $json = $this->fetch( '/utils/script/compile', true, $script ) ) )
if( false === ( $json = $this->fetch( '/utils/script/compileCode', true, $script ) ) )
return false;

if( false === ( $json = $this->json_decode( $json ) ) )
Expand Down

0 comments on commit 286bc47

Please sign in to comment.