zcash_client_sqlite: Do not overwrite address on update in `put_sent_output`
This commit is contained in:
parent
7a00ff0c2a
commit
3089e3b29d
|
@ -2613,7 +2613,7 @@ pub(crate) fn put_sent_output<P: consensus::Parameters>(
|
|||
:to_address, :to_account_id, :value, :memo)
|
||||
ON CONFLICT (tx, output_pool, output_index) DO UPDATE
|
||||
SET from_account_id = :from_account_id,
|
||||
to_address = :to_address,
|
||||
to_address = IFNULL(to_address, :to_address),
|
||||
to_account_id = IFNULL(to_account_id, :to_account_id),
|
||||
value = :value,
|
||||
memo = IFNULL(:memo, memo)",
|
||||
|
|
Loading…
Reference in New Issue