mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 20:59:23 +00:00
Implement Featured Addresses
Closes https://github.com/serai-dex/serai/issues/37.
This commit is contained in:
@@ -19,7 +19,7 @@ pub async fn rpc() -> Rpc {
|
||||
}
|
||||
|
||||
let addr = Address {
|
||||
meta: AddressMeta { network: Network::Mainnet, kind: AddressType::Standard, guaranteed: false },
|
||||
meta: AddressMeta { network: Network::Mainnet, kind: AddressType::Standard },
|
||||
spend: &random_scalar(&mut OsRng) * &ED25519_BASEPOINT_TABLE,
|
||||
view: &random_scalar(&mut OsRng) * &ED25519_BASEPOINT_TABLE,
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ async fn send_core(test: usize, multisig: bool) {
|
||||
}
|
||||
|
||||
let view_pair = ViewPair { view, spend: spend_pub };
|
||||
let addr = view_pair.address(Network::Mainnet, AddressType::Standard, false);
|
||||
let addr = view_pair.address(Network::Mainnet, AddressType::Standard);
|
||||
|
||||
let fee = rpc.get_fee().await.unwrap();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user