mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-11 13:39:25 +00:00
Correct the accidental swap of stagenet/testnet address bytes
This commit is contained in:
3
coins/monero/tests/tests.rs
Normal file
3
coins/monero/tests/tests.rs
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
// TODO
|
||||||
|
#[test]
|
||||||
|
fn test() {}
|
||||||
@@ -169,11 +169,11 @@ const MONERO_MAINNET_BYTES: AddressBytes = match AddressBytes::new(18, 19, 42, 7
|
|||||||
Some(bytes) => bytes,
|
Some(bytes) => bytes,
|
||||||
None => panic!("mainnet byte constants conflicted"),
|
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,
|
Some(bytes) => bytes,
|
||||||
None => panic!("stagenet byte constants conflicted"),
|
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,
|
Some(bytes) => bytes,
|
||||||
None => panic!("testnet byte constants conflicted"),
|
None => panic!("testnet byte constants conflicted"),
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user