diff --git a/api/utils.py b/api/utils.py index 929f7b76..241e32dc 100644 --- a/api/utils.py +++ b/api/utils.py @@ -63,10 +63,10 @@ robosats_commit_cache = {} @ring.dict(robosats_commit_cache, expire=3600) def get_commit_robosats(): - stream = os.popen('git log -n 1 --pretty=format:"%H"') - lnd_version = stream.read() + commit = os.popen('git log -n 1 --pretty=format:"%H"') + commit_hash = commit.read() - return lnd_version + return commit_hash premium_percentile = {} @ring.dict(premium_percentile, expire=300) diff --git a/frontend/src/components/MakerPage.js b/frontend/src/components/MakerPage.js index e10d78ae..2e3fcc97 100644 --- a/frontend/src/components/MakerPage.js +++ b/frontend/src/components/MakerPage.js @@ -184,7 +184,7 @@ export default class MakerPage extends Component {
- +
- + - + } @@ -251,7 +251,7 @@ export default class MakerPage extends Component { onClick={this.handleClickRelative} /> - + } diff --git a/frontend/src/components/UserGenPage.js b/frontend/src/components/UserGenPage.js index ed849ec4..b9cb5964 100644 --- a/frontend/src/components/UserGenPage.js +++ b/frontend/src/components/UserGenPage.js @@ -28,7 +28,7 @@ export default class UserGenPage extends Component { constructor(props) { super(props); this.state = { - token: this.genBase62Token(34), + token: this.genBase62Token(36), openInfo: false, loadingRobot: true, tokenHasChanged: false, @@ -88,7 +88,7 @@ export default class UserGenPage extends Component { handleClickNewRandomToken=()=>{ this.setState({ - token: this.genBase62Token(34), + token: this.genBase62Token(36), tokenHasChanged: true, copied: true, }); @@ -209,7 +209,7 @@ export default class UserGenPage extends Component { Generate Robot : - +