From 7bc39b244ff2a20ab0cc2edd2917418720043134 Mon Sep 17 00:00:00 2001 From: 0o-de-lally <1364012+0o-de-lally@users.noreply.github.com> Date: Wed, 27 Nov 2024 16:41:59 -0500 Subject: [PATCH] patch --- src/json_rescue_v5_extract.rs | 2 +- src/json_rescue_v5_load.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/json_rescue_v5_extract.rs b/src/json_rescue_v5_extract.rs index 12f72c2..adc44b0 100644 --- a/src/json_rescue_v5_extract.rs +++ b/src/json_rescue_v5_extract.rs @@ -98,7 +98,7 @@ pub fn decode_transaction_args(wtx: &mut WarehouseTxMaster, tx_bytes: &[u8]) -> } ScriptFunctionCallGenesis::AutopayCreateInstruction { payee, .. } => { wtx.relation_label = - RelationLabel::Transfer(cast_legacy_account(destination)?); + RelationLabel::Transfer(cast_legacy_account(payee)?); wtx.entry_function = Some(EntryFunctionArgs::V5(sf.to_owned())); } ScriptFunctionCallGenesis::CreateAccUser { .. } => { diff --git a/src/json_rescue_v5_load.rs b/src/json_rescue_v5_load.rs index 179b41d..aa56c3c 100644 --- a/src/json_rescue_v5_load.rs +++ b/src/json_rescue_v5_load.rs @@ -13,7 +13,6 @@ use std::path::Path; use std::sync::Arc; use tokio::sync::{Mutex, Semaphore}; use tokio::task; -use sysinfo::{System, SystemExt}; /// How many records to read from the archives before attempting insert // static LOAD_QUEUE_SIZE: usize = 1000;