Do not update `is_change` in received_notes with null values.

Fixes #322
This commit is contained in:
Kris Nuttycombe 2020-12-02 13:15:56 -07:00
parent 7ac08631b9
commit d77784eba8
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ impl<'a> WalletRead for &'a WalletDB {
rcm = :rcm,
nf = IFNULL(:memo, nf),
memo = IFNULL(:nf, memo),
is_change = :is_change
is_change = IFNULL(:is_change, is_change)
WHERE tx = :tx AND output_index = :output_index",
)?,
stmt_select_received_note: self.0.prepare(