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

@ -3,11 +3,11 @@ var FakeStorage = function(){
this.storage = {};
};
FakeStorage.prototype.read = function (id) {
FakeStorage.prototype.set = function (id) {
return this.storage[id];
};
FakeStorage.prototype.save = function(id, payload) {
FakeStorage.prototype.get = function(id, payload) {
this.storage[id] = payload;
}