mirror of
https://github.com/mimblewimble/grin.git
synced 2025-02-01 08:51:08 +03:00
Add a slate version field
This commit is contained in:
parent
fa7e46d4b2
commit
a33502c108
1 changed files with 3 additions and 0 deletions
|
@ -92,6 +92,8 @@ pub struct Slate {
|
|||
/// insert their public data here. For now, 0 is sender and 1
|
||||
/// is receiver, though this will change for multi-party
|
||||
pub participant_data: Vec<ParticipantData>,
|
||||
/// Slate format version
|
||||
pub version: Option<u64>,
|
||||
}
|
||||
|
||||
impl Slate {
|
||||
|
@ -106,6 +108,7 @@ impl Slate {
|
|||
height: 0,
|
||||
lock_height: 0,
|
||||
participant_data: vec![],
|
||||
version:Some(1)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue