Use different seed nodes for development vs production and strip 2 characters from pubkey on testnet

This commit is contained in:
Beaudan 2019-08-02 16:11:26 +10:00
parent 56c0d12e39
commit 43c2e9c953
3 changed files with 18 additions and 11 deletions

View File

@ -7,15 +7,7 @@
"defaultPoWDifficulty": "100",
"seedNodeList": [
{
"ip": "3.104.19.14",
"port": "22023"
},
{
"ip": "13.238.53.205",
"port": "38157"
},
{
"ip": "imaginary.stream",
"ip": "storage.testnetseed1.loki.network",
"port": "38157"
}
],

View File

@ -1 +1,16 @@
{}
{
"seedNodeList": [
{
"ip": "storage.seed1.loki.network",
"port": "22023"
},
{
"ip": "storage.seed2.loki.network",
"port": "38157"
},
{
"ip": "imaginary.stream",
"port": "38157"
}
]
}

View File

@ -112,7 +112,7 @@ class LokiMessageAPI {
}
const params = {
pubKey,
pubKey: window.getEnvironment() === 'production' ? pubKey : pubKey.substring(0, pubKey.length - 2),
ttl: ttl.toString(),
nonce,
timestamp: timestamp.toString(),