Skip to content

Commit

Permalink
code optimization (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
IdioticMadman authored and ywy2090 committed Nov 1, 2019
1 parent d9fff8c commit 15bfd9b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/main/java/org/fisco/bcos/channel/proxy/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,6 @@ public void onHeartBeat(ChannelHandlerContext ctx, Message message) {
response.writeExtra(out);

ctx.writeAndFlush(out);
} else if (content.equals("1")) {
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public Transaction(
this.value = value;

if (data != null) {
if (this.to != null && this.to != "") {
if (this.to != null && !this.to.equals("")) {
this.data = Numeric.prependHexPrefix(data);
} else {
this.data = data;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ public static void testMixContract(String[] args) throws Exception {
deploymixContract();
}
ContractGasProvider contractGasProvider = new StaticGasProvider(gasPrice, gasLimit);
;
MixContract mixContract =
MixContract.load(contractAddress, web3j, credentials, contractGasProvider);
// create table
Expand Down

0 comments on commit 15bfd9b

Please sign in to comment.