remove commit and not needed query (#3148)

This commit is contained in:
Yostra 2021-04-30 00:22:18 -04:00 committed by GitHub
parent eb21a64d2f
commit f740056fb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -270,10 +270,4 @@ class WalletCoinStore:
"UPDATE coin_record SET spent_height = 0, spent = 0 WHERE spent_height>?",
(height,),
)
c3 = await self.db_connection.execute(
"UPDATE coin_record SET spent_height = 0, spent = 0 WHERE spent_height>?",
(height,),
)
await c3.close()
await c2.close()
await self.db_connection.commit()