message: Re-enable read-only wallet data to write-able state to commit zerocointspend tx
diff: @@ -3288,7 +3288,7 @@ bool CWallet::CommitZerocoinSpendTransaction(CWalletTx& wtxNew, CReserveKey& res
  // This is only to keep the database open to defeat the auto-flush for the
  // duration of this scope. This is the only place where this optimization
  // maybe makes sense; please don't do it anywhere else.
  - CWalletDB* pwalletdb = fFileBacked ? new CWalletDB(strWalletFile,"r") : NULL;
  + CWalletDB* pwalletdb = fFileBacked ? new CWalletDB(strWalletFile, "w") : NULL;
  // Take key pair from key pool so it won't be used again
  reservekey.KeepKey();
  