Browse Source

fix dataAccount sample error

tags/1.4.0^2
imuge 3 years ago
parent
commit
809e4a0bf3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      samples/sdk-samples/src/test/java/com/jdchain/samples/sdk/DataAccountSample.java

+ 1
- 1
samples/sdk-samples/src/test/java/com/jdchain/samples/sdk/DataAccountSample.java View File

@@ -26,7 +26,7 @@ public class DataAccountSample extends SampleBase {
BlockchainKeypair dataAccount = BlockchainKeyGenerator.getInstance().generate();
System.out.println("数据账户地址:" + dataAccount.getAddress());
// 注册数据账户
txTemp.dataAccounts().register(adminKey.getIdentity());
txTemp.dataAccounts().register(dataAccount.getIdentity());
// 交易准备
PreparedTransaction ptx = txTemp.prepare();
// 交易签名


Loading…
Cancel
Save