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