Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
Update services.js
Browse files Browse the repository at this point in the history
  • Loading branch information
22388o authored May 8, 2023
1 parent 43308d4 commit ced4eac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ const api = require('coin')

// Create a new Hypercore instance
const feed = new Hypercore('./bitcoin-pairs-feed', {
valueEncoding: 'json', 'coin.json'
valueEncoding: 'coin.json'
secretKey: crypto.randomBytes(32),
})

// Create a new Hyperbee instance
const db = new Hyperbee(feed, {
keyEncoding: 'utf-8',
valueEncoding: 'json',
valueEncoding: 'con.json'
})

0 comments on commit ced4eac

Please sign in to comment.