remove richochet: prefix from address
This commit is contained in:
parent
9a1d8df640
commit
00b8ff4fc3
|
@ -120,7 +120,7 @@ public class ConnectActivity extends AppCompatActivity {
|
||||||
public String doInBackground(String... params) {
|
public String doInBackground(String... params) {
|
||||||
Log.i(TAG, "ConntectTask.doInBackground()");
|
Log.i(TAG, "ConntectTask.doInBackground()");
|
||||||
String privateKey = params[0];
|
String privateKey = params[0];
|
||||||
String connectToAddr = params[1];
|
String connectToAddr = params[1].replaceFirst(RICOCHET_ADDRESS_PREFIX, "");
|
||||||
try {
|
try {
|
||||||
GoRicochetMobile.odClientConnect(privateKey, connectToAddr);
|
GoRicochetMobile.odClientConnect(privateKey, connectToAddr);
|
||||||
return "";
|
return "";
|
||||||
|
|
Loading…
Reference in New Issue