diff options
Diffstat (limited to 'lib/buildtx.js')
| -rw-r--r-- | lib/buildtx.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/buildtx.js b/lib/buildtx.js index 970a17e3..a696062c 100644 --- a/lib/buildtx.js +++ b/lib/buildtx.js @@ -1,7 +1,8 @@ +import { prod } from "./utils.js"; import axios from 'axios'; import bitcoin from 'bitcoinjs-lib'; import coinselect from 'coinselect'; -import split from 'coinselect/split'; +import split from 'coinselect/split.js'; const api = prod ? "https://blockstream.info/api" : "http://electrsb:3095"; const SATS = 100000000; const network = prod |
