mirror of
https://github.com/Ride-The-Lightning/RTL.git
synced 2024-11-19 09:50:36 +01:00
Sweep All
This commit is contained in:
parent
cc3bfb804d
commit
5b8f48d989
@ -8,5 +8,5 @@
|
||||
<link rel="stylesheet" href="styles.b70b44fe050fa03ed5cb.css"></head>
|
||||
<body>
|
||||
<rtl-app></rtl-app>
|
||||
<script type="text/javascript" src="runtime.ec2944dd8b20ec099bf3.js"></script><script type="text/javascript" src="polyfills.418928a701f2040ada02.js"></script><script type="text/javascript" src="main.995d04f1bd4fb9645a05.js"></script></body>
|
||||
<script type="text/javascript" src="runtime.ec2944dd8b20ec099bf3.js"></script><script type="text/javascript" src="polyfills.418928a701f2040ada02.js"></script><script type="text/javascript" src="main.19feb0046a279e0e1341.js"></script></body>
|
||||
</html>
|
||||
|
1
angular/main.19feb0046a279e0e1341.js
Normal file
1
angular/main.19feb0046a279e0e1341.js
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -36,12 +36,16 @@ exports.getTransactions = (req, res, next) => {
|
||||
exports.postTransactions = (req, res, next) => {
|
||||
options = common.options;
|
||||
options.url = common.lnd_server_url + '/transactions';
|
||||
options.form = JSON.stringify({
|
||||
options.form = {
|
||||
amount: req.body.amount,
|
||||
addr: req.body.address,
|
||||
sat_per_byte: req.body.fees,
|
||||
target_conf: req.body.blocks
|
||||
});
|
||||
};
|
||||
if (req.body.sendAll) {
|
||||
options.form.send_all = req.body.sendAll;
|
||||
}
|
||||
options.form = JSON.stringify(options.form);
|
||||
request.post(options).then((body) => {
|
||||
logger.info('\r\nTransactions: 42: ' + JSON.stringify(Date.now()) + ': INFO: Transaction Post Response: ' + JSON.stringify(body));
|
||||
if(undefined === body || body.error) {
|
||||
|
Loading…
Reference in New Issue
Block a user