paid-services 3.12.0 → 3.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -143,13 +143,15 @@ module.exports = args => {
|
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
return {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
146
|
+
proposal: {
|
|
147
|
+
accept_request: request,
|
|
148
|
+
capacity: parseHexNumber(channelCapacity.value),
|
|
149
|
+
fee_rate: parseHexNumber(fundingFeeRate.value),
|
|
150
|
+
partner_public_key: destination,
|
|
151
|
+
proposed_at: args.confirmed_at,
|
|
152
|
+
remote_multisig_key: remoteMultiSigKey.value,
|
|
153
|
+
remote_tx_id: remoteTxId.value,
|
|
154
|
+
remote_tx_vout: parseHexNumber(remoteTxVout.value),
|
|
155
|
+
},
|
|
154
156
|
};
|
|
155
157
|
};
|
package/package.json
CHANGED
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"integration-tests": "tap -j 2 --branches=1 --functions=1 --lines=1 --statements=1 -t 180 test/integration/*.js",
|
|
43
43
|
"test": "tap --branches=1 --functions=1 --lines=1 --statements=1 -t 60 test/actions/*.js test/balanced/*.js test/capacity/*.js test/client/*.js test/config/*.js test/p2p/*.js test/records/*.js test/respond/*.js test/server/*.js test/server/*.js test/services/*.js test/trades/*.js"
|
|
44
44
|
},
|
|
45
|
-
"version": "3.12.
|
|
45
|
+
"version": "3.12.1"
|
|
46
46
|
}
|
|
@@ -149,14 +149,16 @@ const tests = [
|
|
|
149
149
|
args: makeArgs({}),
|
|
150
150
|
description: 'Derive a balanced open request',
|
|
151
151
|
expected: {
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
152
|
+
proposal: {
|
|
153
|
+
accept_request: 'lntb10n1p3p6msgpp5s3xkaa2gg8q2zgmva8k9ruh3r7falxqdmkadac06wxc8fkqu4x0qdqqcqzpgxqr23ssp5ukm2dcl8wzfztx63758gmdjkna8jycypey880lenh082060fem4s9qyyssqul9nlwtpxqs2qegvpl9amltr4d9d8k9e008gr5ymv4aqkerel7dknusv60gtedgfvl3pq5lzg6c4sk4xf7lmlqtwr97cx047hpj9zqcp3mqur9',
|
|
154
|
+
capacity: 2000000,
|
|
155
|
+
fee_rate: 255,
|
|
156
|
+
partner_public_key: '020ec0c6a0c4fe5d8a79928ead294c36234a76f6e0dca896c35413612a3fd8dbf8',
|
|
157
|
+
proposed_at: '1970-01-01T00:00:00.000Z',
|
|
158
|
+
remote_multisig_key: '020202020202020202020202020202020202020202020202020202020202020202',
|
|
159
|
+
remote_tx_id: '0000000000000000000000000000000000000000000000000000000000000000',
|
|
160
|
+
remote_tx_vout: 255,
|
|
161
|
+
},
|
|
160
162
|
},
|
|
161
163
|
},
|
|
162
164
|
];
|