diff options
Diffstat (limited to 'examples/serdeser.rs')
-rw-r--r-- | examples/serdeser.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/serdeser.rs b/examples/serdeser.rs index 60d90b9..4fdfdc2 100644 --- a/examples/serdeser.rs +++ b/examples/serdeser.rs | |||
@@ -4,9 +4,8 @@ use serde_json; | |||
4 | pub fn main() { | 4 | pub fn main() { |
5 | 5 | ||
6 | let tx = Transaction { | 6 | let tx = Transaction { |
7 | by: "fingerprint_of_some_guy".to_owned(), | 7 | source: "fingerprint_of_some_guy".to_owned(), |
8 | source: "31415926535897932384626433832795028841971693993751058209749445923".to_owned(), | 8 | target: "31415926535897932384626433832795028841971693993751058209749445923".to_owned(), |
9 | target: "fingerprint_of_some_guy".to_owned(), | ||
10 | amount: 2, | 9 | amount: 2, |
11 | timestamp: chrono::NaiveDate::from_ymd(2021, 04, 13).and_hms(20, 55, 30), | 10 | timestamp: chrono::NaiveDate::from_ymd(2021, 04, 13).and_hms(20, 55, 30), |
12 | }; | 11 | }; |