Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Commit

Permalink
fix: update fullnodeExit to validatorExit
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyera Eulberg authored and CriesofCarrots committed Oct 11, 2019
1 parent 88b080b commit e1a0232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v1/BxDialogWorldMap.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Node extends React.Component {
console.log(rpcUrl);
if (window.confirm('Are you sure you want to terminate this node?')) {
const connection = new Connection(rpcUrl);
const result = await connection.fullnodeExit();
const result = await connection.validatorExit();
if (!result) {
window.alert('Node declined to exit');
} else {
Expand Down

0 comments on commit e1a0232

Please sign in to comment.