Skip to content

Commit

Permalink
1.5.2 hotfix
Browse files Browse the repository at this point in the history
Signed-off-by: Alessio <[email protected]>
  • Loading branch information
slux83 committed Feb 12, 2024
1 parent abf19b3 commit 3103e88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/devpool/thothBot/dao/AssetsDao.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public void addNewAsset(String policyId, String assetName, String displayName, I
MapSqlParameterSource paramSource = new MapSqlParameterSource();
paramSource.addValue(FIELD_POLICY_ID, policyId);
paramSource.addValue(FIELD_ASSET_NAME, assetName);
paramSource.addValue(FIELD_ASSET_DISPLAY_NAME, displayName);
paramSource.addValue(FIELD_ASSET_DISPLAY_NAME, displayName.replace("\u0000", ""));
paramSource.addValue(FIELD_DECIMALS, decimals);
namedParameterJdbcTemplate.update("insert into assets (policy_id, asset_name, asset_display_name, decimals) values (:policy_id, :asset_name, :asset_display_name, :decimals)",
paramSource);
Expand Down

0 comments on commit 3103e88

Please sign in to comment.