Use different seed nodes for development vs production and strip 2 characters from pubkey on testnet
This commit is contained in:
parent
56c0d12e39
commit
43c2e9c953
|
@ -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"
|
||||
}
|
||||
],
|
||||
|
|
|
@ -1 +1,16 @@
|
|||
{}
|
||||
{
|
||||
"seedNodeList": [
|
||||
{
|
||||
"ip": "storage.seed1.loki.network",
|
||||
"port": "22023"
|
||||
},
|
||||
{
|
||||
"ip": "storage.seed2.loki.network",
|
||||
"port": "38157"
|
||||
},
|
||||
{
|
||||
"ip": "imaginary.stream",
|
||||
"port": "38157"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue