From 7205344a26401dfb16381b373d86e3e117e4368c Mon Sep 17 00:00:00 2001 From: CaiHQ Date: Fri, 3 Dec 2021 11:19:29 +0800 Subject: [PATCH] feat: support jsontype in execute contract --- src/test/java/org/bdware/sc/bean/ContractRequestTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/bdware/sc/bean/ContractRequestTest.java b/src/test/java/org/bdware/sc/bean/ContractRequestTest.java index 17a6241..da41204 100644 --- a/src/test/java/org/bdware/sc/bean/ContractRequestTest.java +++ b/src/test/java/org/bdware/sc/bean/ContractRequestTest.java @@ -9,7 +9,7 @@ public class ContractRequestTest { // req.requester = rsa.toBase64Pubkey(); req.contractID = "123"; req.action = "main"; - req.arg = "arg1"; + req.setArg("arg1"); String key = "{\"privateKey\":\"589d94ee5688358a1c5c18430dd9c75097ddddebf769f139da36a807911d20f8\"," + "\"publicKey\":\"04d1924329f72ced148f6f333fb985ccbaa31b1e3aacf10be5f43d4a4ff5a" +