Skip to content
Snippets Groups Projects
Commit cbe512fe authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

remove unused code

parent c0453438
No related branches found
No related tags found
2 merge requests!60Revert "Fail a test to be sure it works",!8Updates to match the client fullyDecentrilizedChannels branch
......@@ -264,26 +264,6 @@ func buildMessage(channelID, messageID, parentID []byte, nickname,
}
}
// // uuidHelper is ap rivate helper to determine an autoincremented
// // uuid value for a given store. The way it works right now
// // is by counting all the objects and returning count + 1, but
// // there may be a better way to retrieve this value with the pkName
// func (w *wasmModel) uuidHelper(pkName, storeName string) uint64 {
// w.db.
// // Prepare the Transaction
// txn, err := w.db.Transaction(idb.TransactionReadWrite, messageStoreName)
// if err != nil {
// jww.
// return 0, errors.Errorf("Unable to create Transaction: %+v",
// err)
// }
// store, err := txn.ObjectStore(storeName)
// if err != nil {
// return 0, errors.Errorf("Unable to get ObjectStore: %+v", err)
// }
// }
// receiveHelper is a private helper for receiving any sort of message.
func (w *wasmModel) receiveHelper(newMessage *Message) (uint64,
error) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment