diff options
| author | Adam Soltys <[email protected]> | 2021-11-24 23:00:07 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-11-24 23:00:07 -0800 |
| commit | 453275f83b94c70248918ccf19213d5a133a51df (patch) | |
| tree | ea168c1b5006135cecf08275e7a94be39700ec4b /lib | |
| parent | f88efde28804203905324e536c60047c8cb8d99a (diff) | |
| download | coinos-server-453275f83b94c70248918ccf19213d5a133a51df.tar.gz coinos-server-453275f83b94c70248918ccf19213d5a133a51df.zip | |
add bitcoin electrs
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/buildtx.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/buildtx.js b/lib/buildtx.js index 5e0fe29f..99fd6daa 100644 --- a/lib/buildtx.js +++ b/lib/buildtx.js @@ -2,7 +2,7 @@ const axios = require("axios"); const bitcoin = require("bitcoinjs-lib"); const coinselect = require("coinselect"); const split = require("coinselect/split"); -const api = prod ? "https://blockstream.info/api" : "http://localhost:3095"; +const api = prod ? "https://blockstream.info/api" : "http://electrsb:3095"; const SATS = 100000000; const network = prod ? bitcoin.networks["bitcoin"] |
