Skip to content

Commit

Permalink
fix the cross-chain contract method multi-parameter bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ylxiao5 committed Aug 29, 2023
1 parent 389df02 commit ab24b1a
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,7 @@ public void callTargetChain(
}

TransactionRequest transactionRequest = new TransactionRequest();
transactionRequest.setArgs(
new String[] {objectMapper.writeValueAsString(interchainRequest.getArgs())});
transactionRequest.setArgs(interchainRequest.getArgs());
transactionRequest.setMethod(interchainRequest.getMethod());

transactionRequest.getOptions().put(StubConstant.TRANSACTION_UNIQUE_ID, uid);
Expand Down

0 comments on commit ab24b1a

Please sign in to comment.