mirror of
https://github.com/sparrowwallet/drongo.git
synced 2025-11-05 11:56:38 +00:00
Rebrand for GRS
This commit is contained in:
parent
965a4d1249
commit
93276e76a7
3 changed files with 5 additions and 5 deletions
|
|
@ -123,7 +123,7 @@ public class TransactionTask implements Runnable {
|
|||
builder.append("Wallet ").append(wallet.getName()).append(" received to address").append(toAddresses.size() == 1 ? " " : "es ");
|
||||
StringJoiner toJoiner = new StringJoiner(", ", "[", "]");
|
||||
for(Address address : toAddresses.keySet()) {
|
||||
toJoiner.add(address.toString() + " [" + Utils.formatHDPath(wallet.getAddressPath(address)) + "]" + " (" + toAddresses.get(address) + " sats)");
|
||||
toJoiner.add(address.toString() + " [" + Utils.formatHDPath(wallet.getAddressPath(address)) + "]" + " (" + toAddresses.get(address) + " gros)");
|
||||
}
|
||||
builder.append(toJoiner.toString()).append(" in txid ").append(transaction.getTxId());
|
||||
log.info(builder.toString());
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ public class BitcoinJSONRPCClient {
|
|||
|
||||
conn.setRequestProperty("Authorization", "Basic " + authStr);
|
||||
byte[] r = prepareRequest(method, o);
|
||||
log.debug("Bitcoin JSON-RPC request: " + new String(r, QUERY_CHARSET));
|
||||
log.debug("Groestlcoin JSON-RPC request: " + new String(r, QUERY_CHARSET));
|
||||
conn.getOutputStream().write(r);
|
||||
conn.getOutputStream().close();
|
||||
int responseCode = conn.getResponseCode();
|
||||
|
|
@ -101,7 +101,7 @@ public class BitcoinJSONRPCClient {
|
|||
public Object loadResponse(InputStream in, Object expectedID, boolean close) throws IOException, BitcoinRPCException {
|
||||
try {
|
||||
String r = new String(loadStream(in, close), QUERY_CHARSET);
|
||||
log.debug("Bitcoin JSON-RPC response: " + r);
|
||||
log.debug("Groestlcoin JSON-RPC response: " + r);
|
||||
try {
|
||||
JSONParser jsonParser = new JSONParser();
|
||||
Map response = (Map) jsonParser.parse(r);
|
||||
|
|
|
|||
|
|
@ -359,9 +359,9 @@ public class DeterministicSeed implements EncryptableItem {
|
|||
return Bip39MnemonicCode.toSeed(mnemonicCode, passphrase);
|
||||
}
|
||||
},
|
||||
ELECTRUM("Mnemonic Words (Electrum Seed Version System)") {
|
||||
ELECTRUM("Mnemonic Words (Electrum-GRS Seed Version System)") {
|
||||
public byte[] getEntropyBytes(List<String> mnemonicCode) throws MnemonicException {
|
||||
throw new MnemonicException("Electrum seeds do not provide entropy bytes");
|
||||
throw new MnemonicException("Electrum-GRS seeds do not provide entropy bytes");
|
||||
}
|
||||
|
||||
public void check(List<String> mnemonicCode) throws MnemonicException {
|
||||
|
|
|
|||
Loading…
Reference in a new issue