From f5bc93b8668bd9806ca3e22e62008c02c8546ae4 Mon Sep 17 00:00:00 2001 From: Bruno Volpato Date: Wed, 13 Dec 2017 22:23:55 -0800 Subject: [PATCH] Use javascript lang on the snippet --- 15_3_Testing_with_Regtest.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/15_3_Testing_with_Regtest.md b/15_3_Testing_with_Regtest.md index 83d1fb2..669a14d 100644 --- a/15_3_Testing_with_Regtest.md +++ b/15_3_Testing_with_Regtest.md @@ -93,6 +93,8 @@ $ npm install -g bitcointest After installing `bitcointest`, you can create the `test.js` file with the following content: ``` $ nano test.js +``` +```javascript const { BitcoinNet, BitcoinGraph } = require('bitcointest'); net = new BitcoinNet('/usr/local/bin', '/tmp/bitcointest/', 22001, 22002); graph = new BitcoinGraph(net);