Support refunds as possible for invalidly received outputs on Serai

This commit is contained in:
Luke Parker
2023-11-08 11:26:28 -05:00
parent 11f66c741d
commit 06e627a562
7 changed files with 156 additions and 27 deletions

View File

@@ -10,6 +10,7 @@ use crate::networks::{Output, Network};
pub struct Payment<N: Network> {
pub address: N::Address,
pub data: Option<Vec<u8>>,
// TODO: Balance
pub amount: u64,
}