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({
|
||||
network: 'regtest',
|
||||
db: 'memory'
|
||||
memory: true
|
||||
});
|
||||
|
||||
node.use(plugin);
|
||||
|
||||
@ -10,7 +10,7 @@ function dummy() {
|
||||
|
||||
const walletdb = new bcoin.wallet.WalletDB({
|
||||
network: 'testnet',
|
||||
db: 'memory'
|
||||
memory: true
|
||||
});
|
||||
|
||||
(async () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user