diff options
| author | Adam Soltys <[email protected]> | 2022-09-02 23:32:30 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-02 23:32:30 -0700 |
| commit | 981321e3722af3aba217aeddfba3843615085ec7 (patch) | |
| tree | d46dab617a6e8f33980275db362aa000e0447939 /lib/buildliquidtx.js | |
| parent | 13352f9b30eed52d2e7d0970d3cbd76f401d6de0 (diff) | |
| download | coinos-server-981321e3722af3aba217aeddfba3843615085ec7.tar.gz coinos-server-981321e3722af3aba217aeddfba3843615085ec7.zip | |
es6 migration
Diffstat (limited to 'lib/buildliquidtx.js')
| -rw-r--r-- | lib/buildliquidtx.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/buildliquidtx.js b/lib/buildliquidtx.js index 783e4036..81e3d971 100644 --- a/lib/buildliquidtx.js +++ b/lib/buildliquidtx.js @@ -1,3 +1,4 @@ +import store from "./store.js"; import { prod } from "./utils.js"; import axios from 'axios'; // import liquid from 'liquidjs-lib'; @@ -105,7 +106,7 @@ export default async ({ total += value; if (!address) { address = changeAddress; - change.push(address); + store.change.push(address); } psbt = psbt.addOutput({ |
