You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[in my version of reality] when you start gui and open a stagenet wallet with a ./monerod --stagenet already running, it is unable to connect. however if you select Remote node and input localhost:38081 it connects fine.. clicking on Local again to double check and yes unable to connect.
looking around in the source, i decided to hardcode the default port of testnet and 'default' to 38081
function getDefaultDaemonRpcPort(networkType) {
switch (networkType) {
case NetworkType.STAGENET:
console.log("[DEBUG]: STAGENET");
return38081;
case NetworkType.TESTNET:
console.log("[DEBUG]: TESTNET");
return38081;
default:
console.log("[DEBUG]: DEFAULT");
return38081; //<-- we always end up here for stagenet wallet.. nettype == 2 and persistant settings == 2 //perhaps NetworkType.STAGENET is not set correctly?
}
}
I was unable to see these console.log messages but through process of elimination , when opening a stagenet wallet the networktype is neither stagenet or testnet, it uses default (18081) so unable to connect.
the correct value should be read from here but apparently not:
[in my version of reality] when you start gui and open a stagenet wallet with a
./monerod --stagenet
already running, it is unable to connect. however if you selectRemote node
and inputlocalhost:38081
it connects fine.. clicking onLocal
again to double check and yes unable to connect.looking around in the source, i decided to hardcode the default port of testnet and 'default' to 38081
monero-gui/main.qml
Line 2255 in b26f38d
I was unable to see these console.log messages but through process of elimination , when opening a stagenet wallet the networktype is neither stagenet or testnet, it uses default (18081) so unable to connect.
the correct value should be read from here but apparently not:
monero-gui/main.qml
Line 94 in b26f38d
this looked weird how mainnet is set but the others not?
https://github.com/monero-project/monero/blob/424e4de16b98506170db7b0d7d87a79ccf541744/src/wallet/api/wallet2_api.h#L45
now i can review #3734 with a local stagenet node 😄
The text was updated successfully, but these errors were encountered: