From 63d08a9f120e842dcc5a34a1db6b39957c643b30 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 23 Apr 2021 01:41:18 +0300 Subject: [WIP] Done, untested --- examples/serdeser.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'examples') 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; pub fn main() { let tx = Transaction { - by: "fingerprint_of_some_guy".to_owned(), - source: "31415926535897932384626433832795028841971693993751058209749445923".to_owned(), - target: "fingerprint_of_some_guy".to_owned(), + source: "fingerprint_of_some_guy".to_owned(), + target: "31415926535897932384626433832795028841971693993751058209749445923".to_owned(), amount: 2, timestamp: chrono::NaiveDate::from_ymd(2021, 04, 13).and_hms(20, 55, 30), }; -- cgit v1.2.3-70-g09d2