mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-12 14:09:25 +00:00
Finish documenting monero-serai
This commit is contained in:
@@ -63,7 +63,7 @@ impl SignableTransactionBuilder {
|
||||
#[allow(unused)]
|
||||
pub fn add_data(&mut self, data: Vec<u8>) -> Result<&mut Self, SendError> {
|
||||
if data.len() > MAX_ARBITRARY_DATA_SIZE {
|
||||
Err(SendError::TooMuchData)?;
|
||||
Err(SendError::TooMuchArbitraryData)?;
|
||||
}
|
||||
self.data.push(data);
|
||||
Ok(self)
|
||||
|
||||
Reference in New Issue
Block a user