set destination address when for ledger window repair responses

This commit is contained in:
Rob Walker
2018-08-07 23:22:45 -07:00
parent a200cedb4b
commit c64e2acf8b
3 changed files with 12 additions and 2 deletions

View File

@@ -1016,7 +1016,12 @@ impl Crdt {
if let Ok(entry) = ledger_window.get_entry(ix) {
inc_new_counter!("crdt-window-request-ledger", 1);
let out = entry.to_blob(blob_recycler, Some(ix), Some(from.id));
let out = entry.to_blob(
blob_recycler,
Some(ix),
Some(from.id),
Some(&from.contact_info.tvu_window),
);
return Some(out);
}