diff --git a/coins/monero/tests/tests.rs b/coins/monero/tests/tests.rs new file mode 100644 index 000000000..7b6656f26 --- /dev/null +++ b/coins/monero/tests/tests.rs @@ -0,0 +1,3 @@ +// TODO +#[test] +fn test() {} diff --git a/coins/monero/wallet/address/src/lib.rs b/coins/monero/wallet/address/src/lib.rs index 731faab89..96cbee199 100644 --- a/coins/monero/wallet/address/src/lib.rs +++ b/coins/monero/wallet/address/src/lib.rs @@ -169,11 +169,11 @@ const MONERO_MAINNET_BYTES: AddressBytes = match AddressBytes::new(18, 19, 42, 7 Some(bytes) => bytes, None => panic!("mainnet byte constants conflicted"), }; -const MONERO_STAGENET_BYTES: AddressBytes = match AddressBytes::new(53, 54, 63, 111) { +const MONERO_STAGENET_BYTES: AddressBytes = match AddressBytes::new(24, 25, 36, 86) { Some(bytes) => bytes, None => panic!("stagenet byte constants conflicted"), }; -const MONERO_TESTNET_BYTES: AddressBytes = match AddressBytes::new(24, 25, 36, 86) { +const MONERO_TESTNET_BYTES: AddressBytes = match AddressBytes::new(53, 54, 63, 111) { Some(bytes) => bytes, None => panic!("testnet byte constants conflicted"), };