Fixed bug in BlockChain::confirmations -> spend coins would never get a confirmation - forgot the parameter in the SQL query