Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary comments #10

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions controllers/stellar/createAccount.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ exports.createAccount = function(req, res, next){
var issuingKeys = StellarSdk.Keypair
.fromSecret('SCKL62GED46Z6ZXN7IBPQX43KNSQOI62XD7DKNW4FDFYZQUPQZRTHFBV');
var receivingKeys = pair;
// var receivingKeys = StellarSdk.Keypair
// .fromSecret('SDNW4TVMRPTO7NPSBYHYA2ESHOWQLQLOVDN3AKW6Q65YOVT7DIC3KYPO');
// Create an object to represent the new asset
var Blog = new StellarSdk.Asset('Blog', issuingKeys.publicKey());
// First, the receiving account must trust the asset
Expand Down
11 changes: 1 addition & 10 deletions models/user.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
var mongoose = require('mongoose');
var Schema = mongoose.Schema;
// var bcrypt = require('bcrypt');

var schema = new Schema({
email : {type:String, require:true},
Expand All @@ -11,12 +10,4 @@ var schema = new Schema({
creation_dt:{type:Date, require:true}
});

// schema.statics.hashPassword = function hashPassword(password){
// return bcrypt.hashSync(password,10);
// }

// schema.methods.isValid = function(hashedpassword){
// return bcrypt.compareSync(hashedpassword, this.password);
// }

module.exports = mongoose.model('User',schema)
module.exports = mongoose.model('User',schema)