Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Renaming

  • Loading branch information
herrerameri committed Oct 3, 2018
1 parent fcc2a03 commit a45d76b4260f59c012e694a5aabe8c791935ab11
Showing with 4 additions and 4 deletions.
  1. +1 −1 README.md
  2. +2 −2 lib/rsk-helper.js
  3. +1 −1 rsk-faucet.js
@@ -12,7 +12,7 @@
- Copy example-config.json to config.json and configure with your data.
- rsk-Faucet.js configuration variables on top of file
- lib/rsk-helper.js configure urlOfFaucetServer
- put some SBTCs on the faucet address
- put some RBTCs on the faucet address


## TODO
@@ -7,7 +7,7 @@ document.addEventListener("DOMContentLoaded", function() {
async: true,
cache: false,
success: function callFunction(result) {
$("#faucetBalance").html('<h3>Faucet balance is ' + result + ' SBTC</h3>');
$("#faucetBalance").html('<h3>Faucet balance is ' + result + ' RBTC</h3>');
refreshCaptcha();
},
error: function (xhr, status, error) {
@@ -35,7 +35,7 @@ document.addEventListener("DOMContentLoaded", function() {
cache: false,
data: {"rskAddress" : rskAddress, "captcha": captchaText},
success: function callFunction(result) {
$("#toRskResult").html('<h3>Successfully sent some SBTCs to that address</h3>');
$("#toRskResult").html('<h3>Successfully sent some RBTCs to that address</h3>');
$("#toRskForm").hide();
},
error: function (xhr, status, error) {
@@ -225,7 +225,7 @@ app.post('/', function (req, res) {
executeTransfer(req.body.rskAddress)

faucetHistory[req.body.rskAddress.toLowerCase()] = {timestamp: new Date().getTime()};
res.send('Successfully sent some SBTCs to ' + req.body.rskAddress + '.');
res.send('Successfully sent some RBTCs to ' + req.body.rskAddress + '.');
} else {
res.status(400).send('We can not tranfer any amount right now. Try again later.' + req.body.rskAddress + '.');
}

0 comments on commit a45d76b

Please sign in to comment.
You can’t perform that action at this time.