diff options
Diffstat (limited to 'src/handlers.rs')
-rw-r--r-- | src/handlers.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlers.rs b/src/handlers.rs index df6e033..30a35e7 100644 --- a/src/handlers.rs +++ b/src/handlers.rs | |||
@@ -659,7 +659,7 @@ pub async fn propose_transaction( | |||
659 | 659 | ||
660 | let mut transactions = db.pending_transactions.write(); | 660 | let mut transactions = db.pending_transactions.write(); |
661 | 661 | ||
662 | transactions.insert(new_transaction.source.to_owned(), new_transaction); | 662 | transactions.insert(new_transaction.by.to_owned(), new_transaction); |
663 | 663 | ||
664 | Ok(warp::reply::with_status( | 664 | Ok(warp::reply::with_status( |
665 | warp::reply::json(&GradeCoinResponse { | 665 | warp::reply::json(&GradeCoinResponse { |