mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-05-21 22:36:37 +00:00
Remove obsolete dep
This commit is contained in:
parent
dd06a0ae60
commit
4f78b28cae
@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
const Post = require('./BasePost');
|
||||
const Encryption = require('orbit-common/lib/Encryption');
|
||||
// const Encryption = require('orbit-common/lib/Encryption');
|
||||
|
||||
// Simplest type of post: a string
|
||||
class TextPost extends Post {
|
||||
@ -10,10 +10,9 @@ class TextPost extends Post {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
// TODO: make sure this works
|
||||
encrypt(privkey, pubkey) {
|
||||
this.content = Encryption.encrypt(this.content, privkey, pubkey);
|
||||
}
|
||||
// encrypt(privkey, pubkey) {
|
||||
// this.content = Encryption.encrypt(this.content, privkey, pubkey);
|
||||
// }
|
||||
}
|
||||
|
||||
module.exports = TextPost;
|
||||
|
Loading…
x
Reference in New Issue
Block a user