From a33502c108148a06efd410b7c113b21c5ab07864 Mon Sep 17 00:00:00 2001 From: Yoni Date: Wed, 30 Jan 2019 10:19:41 +0200 Subject: [PATCH] Add a slate version field --- core/src/libtx/slate.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/src/libtx/slate.rs b/core/src/libtx/slate.rs index c1ab36c60..ca10f40db 100644 --- a/core/src/libtx/slate.rs +++ b/core/src/libtx/slate.rs @@ -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, + /// Slate format version + pub version: Option, } impl Slate { @@ -106,6 +108,7 @@ impl Slate { height: 0, lock_height: 0, participant_data: vec![], + version:Some(1) } }