Added regtest
This commit is contained in:
parent
823cee2d50
commit
da5c5143ba
@ -19,9 +19,12 @@ function TxController(node, translateAddresses) {
|
|||||||
if (this.node.network === 'livenet') {
|
if (this.node.network === 'livenet') {
|
||||||
this._network = 'main';
|
this._network = 'main';
|
||||||
}
|
}
|
||||||
if (this._network === 'regtest') {
|
if (this._network === 'testnet') {
|
||||||
this._network = 'testnet';
|
this._network = 'testnet';
|
||||||
}
|
}
|
||||||
|
if (this._network === 'regtest') {
|
||||||
|
this._network = 'regtest';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TxController.prototype.show = function(req, res) {
|
TxController.prototype.show = function(req, res) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user