Skip to content

Commit 6c864e4

Browse files
committed
Fix enum name
1 parent cb6cce4 commit 6c864e4

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

sdk-service/src/main/java/org/fisco/bcos/sdk/client/Client.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,7 @@ static Client build(ConfigOption configOption) throws JniException {
111111

112112
public void setDAG(boolean dag);
113113

114-
// ------------------------- rpc interface begin
115-
// ------------------------------------------
114+
// ------------------------- rpc interface begin ------------------------------------------
116115

117116
/**
118117
* Ledger operation: send transaction
@@ -786,8 +785,7 @@ void getTransactionReceiptAsync(
786785

787786
void getGroupNodeInfoAsync(String node, RespCallback<BcosGroupNodeInfo> callback);
788787

789-
// ------------------------- rpc interface end
790-
// ------------------------------------------
788+
// ------------------------- rpc interface end ------------------------------------------
791789

792790
void start();
793791

sdk-service/src/main/java/org/fisco/bcos/sdk/client/protocol/model/tars/Transaction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
@TarsStruct
1515
public class Transaction {
16-
public static final int SOLIDITY_ABI_CODEC = 0x1;
16+
public static final int EVM_ABI_CODEC = 0x1;
1717
public static final int LIQUID_SCALE_CODEC = 0x2;
1818
public static final int DAG = 0x4;
1919
public static final int LIQUID_CREATE = 0x8;

sdk-transaction/src/main/java/org/fisco/bcos/sdk/contract/Contract.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ private int generateTransactionAttribute(String funcName) {
213213
attribute |= LIQUID_CREATE;
214214
}
215215
} else {
216-
attribute |= Transaction.SOLIDITY_ABI_CODEC;
216+
attribute |= Transaction.EVM_ABI_CODEC;
217217
}
218218

219219
if (client.getDAG()) {

0 commit comments

Comments
 (0)