adding pubKey of sender to storage
This commit is contained in:
parent
eceb276354
commit
77856eda07
@ -5388,6 +5388,7 @@
|
|||||||
compactIDB.addData(table, {
|
compactIDB.addData(table, {
|
||||||
senderID: data.senderID,
|
senderID: data.senderID,
|
||||||
receiverID: data.receiverID,
|
receiverID: data.receiverID,
|
||||||
|
pubKey: data.pubKey,
|
||||||
message: data.message,
|
message: data.message,
|
||||||
sign: data.sign,
|
sign: data.sign,
|
||||||
application: data.application,
|
application: data.application,
|
||||||
@ -5988,7 +5989,7 @@
|
|||||||
|
|
||||||
function initIndexedDBforSupernode(){
|
function initIndexedDBforSupernode(){
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
var IndexesList = ["senderID","receiverID","message","sign","application","type","comment"];
|
var IndexesList = ["senderID","receiverID","pubKey","message","sign","application","type","comment"];
|
||||||
var primaryKey = "vectorClock";
|
var primaryKey = "vectorClock";
|
||||||
var storageList = floGlobals.storageList;
|
var storageList = floGlobals.storageList;
|
||||||
var obj = {
|
var obj = {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user