fix peers, pubkey WIP
This commit is contained in:
parent
a658ec8452
commit
9ca83e35fc
11 changed files with 228 additions and 142 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue