mastercoin-MSC / masterchest-wallet

Masterchest Wallet
MIT License
15 stars 13 forks source link

Faulty saleamount update query #7

Closed dexX7 closed 10 years ago

dexX7 commented 10 years ago

https://github.com/zathras-crypto/masterchest-wallet/blob/master/source/Form1.vb#L790:

cmd.CommandText = "UPDATE exchange_temp SET SALEAMOUNT=0 where ADDRESS='" & .Item(1).ToString & "'"

should actually be:

cmd.CommandText = "UPDATE exchange_temp SET SALEAMOUNT=0 where FROMADD='" & .Item(1).ToString & "'"
zathras-crypto commented 10 years ago

Thanks a mil DexX :) Committed fixes to both the wallet and engine.

On Sat, Mar 8, 2014 at 11:21 PM, dexX7 notifications@github.com wrote:

https://github.com/zathras-crypto/masterchest-wallet/blob/master/source/Form1.vb#L790:

cmd.CommandText = "UPDATE exchange_temp SET SALEAMOUNT=0 where ADDRESS='" & .Item(1).ToString & "'"

should actually be:

cmd.CommandText = "UPDATE exchange_temp SET SALEAMOUNT=0 where FROMADD='" & .Item(1).ToString & "'"

Reply to this email directly or view it on GitHubhttps://github.com/zathras-crypto/masterchest-wallet/issues/7 .