Skip to content

Commit

Permalink
fix typo asset > assetId
Browse files Browse the repository at this point in the history
  • Loading branch information
deemru committed Oct 28, 2019
1 parent bbf5e4b commit c5521fd
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 @@ -2042,7 +2042,7 @@ public function txBody( $tx )
foreach( $tx['payment'] as $rec )
{
$payments .= pack( 'J', $rec['amount'] );
$payments .= isset( $rec['asset'] ) ? chr( 1 ) . $this->base58Decode( $rec['asset'] ) : chr( 0 );
$payments .= isset( $rec['assetId'] ) ? ( chr( 1 ) . $this->base58Decode( $rec['assetId'] ) ) : chr( 0 );
}
$body .= strlen( $payments ) ? ( pack( 'n', strlen( $payments ) ) . $payments ) : '';
$body .= pack( 'J', $tx['fee'] );
Expand Down

0 comments on commit c5521fd

Please sign in to comment.