Reducing info posted to Nostr on Order

This commit is contained in:
Chris Troutner
2024-11-29 04:00:10 -08:00
parent af8a7c3ff3
commit df146382cb
+3 -6
View File
@@ -85,15 +85,12 @@ class OrderLib {
// Add P2WDB specific flag for signaling that this is a new offer.
orderEntity.dataType = 'offer'
// Add order to P2WDB.
// Post the new Order information to Nostr under the topic set in the
// config file.
const postObj = {
wif: this.adapters.wallet.bchWallet.walletInfo.privateKey,
data: orderEntity,
appId: this.config.p2wdbAppId
data: orderEntity
}
const postMsg = JSON.stringify(postObj)
const eventId = await this.adapters.nostr.post(postMsg)
// console.log('hash: ', hash)