mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 04:39:24 +00:00
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:
@@ -65,7 +65,6 @@ impl AddressType {
|
||||
}
|
||||
|
||||
/// The payment ID within this address.
|
||||
// TODO: wallet-core PaymentId? TX extra crate imported here?
|
||||
pub fn payment_id(&self) -> Option<[u8; 8]> {
|
||||
if let AddressType::LegacyIntegrated(id) = self {
|
||||
Some(*id)
|
||||
|
||||
Reference in New Issue
Block a user