mirror of
https://github.com/mimblewimble/mwixnet.git
synced 2025-01-20 19:11:09 +03:00
use port 3420 as default for wallet owner for testnet
This commit is contained in:
parent
462beab616
commit
42d443c51a
1 changed files with 2 additions and 6 deletions
|
@ -248,13 +248,9 @@ pub fn grin_node_url(chain_type: &ChainTypes) -> SocketAddr {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn wallet_owner_url(chain_type: &ChainTypes) -> SocketAddr {
|
||||
if *chain_type == ChainTypes::Testnet {
|
||||
"127.0.0.1:13420".parse().unwrap()
|
||||
} else {
|
||||
pub fn wallet_owner_url(_chain_type: &ChainTypes) -> SocketAddr {
|
||||
"127.0.0.1:3420".parse().unwrap()
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
|
Loading…
Reference in a new issue