docs: fix memory option for examples
This commit is contained in:
parent
87aaebc8e7
commit
b7252939ec
@ -7,7 +7,7 @@ const network = bcoin.Network.get('regtest');
|
|||||||
|
|
||||||
const node = new bcoin.FullNode({
|
const node = new bcoin.FullNode({
|
||||||
network: 'regtest',
|
network: 'regtest',
|
||||||
db: 'memory'
|
memory: true
|
||||||
});
|
});
|
||||||
|
|
||||||
node.use(plugin);
|
node.use(plugin);
|
||||||
|
|||||||
@ -10,7 +10,7 @@ function dummy() {
|
|||||||
|
|
||||||
const walletdb = new bcoin.wallet.WalletDB({
|
const walletdb = new bcoin.wallet.WalletDB({
|
||||||
network: 'testnet',
|
network: 'testnet',
|
||||||
db: 'memory'
|
memory: true
|
||||||
});
|
});
|
||||||
|
|
||||||
(async () => {
|
(async () => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user