File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
integration-test/java/org/fisco/bcos/sdk/v3/test/transaction/decoder
main/java/org/fisco/bcos/sdk/v3/client/protocol/model Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ public void testTxHashCalculate() throws IOException {
125125 byteArrayOutputStream .write (transactionResponse .getMaxPriorityFeePerGas ().getBytes ());
126126 }
127127
128- if (transactionResponse .getVersion () > = TransactionVersion .V2 .getValue ()){
128+ if (transactionResponse .getVersion () = = TransactionVersion .V2 .getValue ()){
129129 byteArrayOutputStream .write (transactionResponse .getExtension ());
130130 }
131131
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ public class JsonTransactionResponse {
4646 private static final Logger logger = LoggerFactory .getLogger (JsonTransactionResponse .class );
4747
4848 // the fields related to get-transaction
49- private Integer version ;
49+ private Integer version = 0 ;
5050 private String hash ;
5151 private String nonce ;
5252 private long blockLimit ;
You can’t perform that action at this time.
0 commit comments