This commit is contained in:
Luke Parker
2023-10-23 05:07:38 -04:00
parent fbf51e53ec
commit 0d23964762
5 changed files with 114 additions and 26 deletions

View File

@@ -114,6 +114,10 @@ impl TransactionTrait<Monero> for Transaction {
fn serialize(&self) -> Vec<u8> {
self.serialize()
}
fn read<R: io::Read>(reader: &mut R) -> io::Result<Self> {
Transaction::read(reader)
}
#[cfg(test)]
async fn fee(&self, _: &Monero) -> u64 {
self.rct_signatures.base.fee