fix peers, pubkey WIP

This commit is contained in:
Matias Alejo Garcia 2014-04-08 00:54:38 -03:00
commit 9ca83e35fc
11 changed files with 228 additions and 142 deletions

View file

@ -6,11 +6,11 @@ function Storage() {
this.data = {};
}
Storage.prototype.read = function(k) {
Storage.prototype.get = function(k) {
return this.data[k];
};
Storage.prototype.save = function(k,v) {
Storage.prototype.set = function(k,v) {
this.data[k]=v;
};