Skip to content

Commit

Permalink
fix: returning txbuild error for csl
Browse files Browse the repository at this point in the history
  • Loading branch information
HinsonSIDAN committed Sep 11, 2024
1 parent 7f85d6a commit eb72afe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mesh-core-csl/src/core/serializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class CSLSerializer implements IMeshTxSerializer {
}
const txBuildResult = csl.js_serialize_tx_body(txBodyJson, params);
if (txBuildResult.get_status() !== "success") {
throw new Error(`txBuildResult error: ${txBuildResult.get_data()}`);
throw new Error(`txBuildResult error: ${txBuildResult.get_error()}`);
}
return txBuildResult.get_data();
}
Expand Down

0 comments on commit eb72afe

Please sign in to comment.