Skip to content

Commit

Permalink
fix error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
overcat committed Sep 16, 2023
1 parent 2c768c3 commit d5a7421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/stellar/sdk/SorobanServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ private Transaction assembleTransaction(
if (simulateTransactionResponse.getResults() == null
|| simulateTransactionResponse.getResults().size() != 1) {
throw new IllegalArgumentException(
"invalid simulateTransactionResponse: results must contain exactly one element if present");
"invalid simulateTransactionResponse: results must contain exactly one element if the operation is an InvokeHostFunctionOperation");
}

SimulateTransactionResponse.SimulateHostFunctionResult simulateHostFunctionResult =
Expand Down

0 comments on commit d5a7421

Please sign in to comment.