Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
GalaxySciTech committed Apr 17, 2021
1 parent 45b14ea commit 37377ed
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dependencies {

// compile 'com.madgag.spongycastle:core:1.58.0.0'

compile 'io.grpc:grpc-stub:1.36.0'
compile 'io.grpc:grpc-stub:1.31.0'
}

processResources {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public TronTransaction(String from, String to, String contractAddress, long amou

private String contractAddress;

TronClient client = TronClient.ofMainnet("3333333333333333333333333333333333333333333333333333333333333333");
TronClient client = TronClient.ofMainnet("");

@Override
public TxSignResult signTransaction(String chainId, String password, Wallet wallet) {
Expand Down
10 changes: 3 additions & 7 deletions src/test/java/org/consenlabs/tokencore/Test.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
import org.consenlabs.tokencore.wallet.transaction.BitcoinTransaction;
import org.consenlabs.tokencore.wallet.transaction.TronTransaction;
import org.consenlabs.tokencore.wallet.transaction.TxSignResult;
import org.tron.tronj.client.TronClient;
import org.tron.tronj.proto.Chain;
import org.tron.tronj.proto.Response;

import java.io.File;
import java.nio.file.Files;
Expand Down Expand Up @@ -116,11 +119,4 @@ static public void signTrxTx() {
}



public static void main(String[] args) {
genFilecoinWallet();
}



}

0 comments on commit 37377ed

Please sign in to comment.