Skip to content
Snippets Groups Projects
Commit e2cc8547 authored by Richard T. Carback III's avatar Richard T. Carback III Committed by Jono Wenger
Browse files

remove unused code

parent 784495b3
No related branches found
No related tags found
Loading
......@@ -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