We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35c4dc7 commit 4145017Copy full SHA for 4145017
src/commands/init.js
@@ -154,7 +154,7 @@ const processInitForm = async (
154
{
155
type: 'select',
156
name: 'network',
157
- message: () => `${protocolInstance.prettifiedName()} network`,
+ message: () => `${protocolInstance.displayName()} network`,
158
choices: () =>
159
Protocol.availableNetworks() // TODO: this should be a constant in the top of the file.
160
.get(protocol) // Get networks related to the chosen protocol.
src/protocols/index.js
@@ -69,7 +69,7 @@ module.exports = class Protocol {
69
.findKey(possibleNames => possibleNames.includes(name))
70
}
71
72
- prettifiedName() {
+ displayName() {
73
switch (this.name) {
74
case 'ethereum':
75
return 'Ethereum'
0 commit comments