Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmelia authored Sep 14, 2023
1 parent 44c634d commit 62ee4ad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ private void sendMessage(Contract groovyDsl) {
setMessageType(contract, ContractVerifierMessageMetadata.MessageType.OUTPUT);

Object payload = null;
if (body.getClientValue() instanceof FromFileProperty) {
if (body != null && body.getClientValue() instanceof FromFileProperty) {
FromFileProperty fromFile = (FromFileProperty) body.getClientValue();
if (fromFile.isByte()) {
payload = fromFile.asBytes();
Expand Down

0 comments on commit 62ee4ad

Please sign in to comment.