mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Rename Network::address to Network::external_address
Improves clarity since we now have 4 addresses.
This commit is contained in:
@@ -155,7 +155,7 @@ pub async fn test_signer<N: Network>(network: N) {
|
||||
}
|
||||
let key = keys[&Participant::new(1).unwrap()].group_key();
|
||||
|
||||
let outputs = network.get_outputs(&network.test_send(N::address(key)).await, key).await;
|
||||
let outputs = network.get_outputs(&network.test_send(N::external_address(key)).await, key).await;
|
||||
let sync_block = network.get_latest_block_number().await.unwrap() - N::CONFIRMATIONS;
|
||||
|
||||
let amount = 2 * N::DUST;
|
||||
@@ -169,7 +169,7 @@ pub async fn test_signer<N: Network>(network: N) {
|
||||
key,
|
||||
inputs: outputs.clone(),
|
||||
payments: vec![Payment {
|
||||
address: N::address(key),
|
||||
address: N::external_address(key),
|
||||
data: None,
|
||||
balance: Balance {
|
||||
coin: match N::NETWORK {
|
||||
|
||||
Reference in New Issue
Block a user