adding pubKey of sender to storage

This commit is contained in:
Sai Raj 2019-10-07 19:06:58 +05:30 committed by GitHub
parent eceb276354
commit 77856eda07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = {