Finish documenting monero-serai

This commit is contained in:
Luke Parker
2024-07-04 00:43:50 -04:00
parent b56c6fb39e
commit 08169e29bb
11 changed files with 170 additions and 45 deletions

View File

@@ -60,7 +60,7 @@ test!(
let mut data = vec![b'a'; MAX_ARBITRARY_DATA_SIZE + 1];
// Make sure we get an error if we try to add it to the TX
assert_eq!(builder.add_data(data.clone()), Err(SendError::TooMuchData));
assert_eq!(builder.add_data(data.clone()), Err(SendError::TooMuchArbitraryData));
// Reduce data size and retry. The data will now be 255 bytes long (including the added
// marker), exactly