Have a public monero-rpc type be properly formatted

It was public as the raw RPC response. It's more polite to handle the
formatting in the RPC, and allows us to return a better structure.
This commit is contained in:
Luke Parker
2024-07-12 04:14:05 -04:00
parent 32c24917c4
commit ba657e23d1
5 changed files with 83 additions and 36 deletions

View File

@@ -102,7 +102,6 @@ impl SharedKeyDerivations {
}
// H(8Ra || 0x8d)
// TODO: Make this itself a PaymentId
#[allow(clippy::needless_pass_by_value)]
fn payment_id_xor(ecdh: Zeroizing<EdwardsPoint>) -> [u8; 8] {
// 8Ra