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 171f20d commit dfb5e1fCopy full SHA for dfb5e1f
examples/wallet/app/utils/nodeConnection.js
@@ -39,14 +39,9 @@ export function getAccountState(identifier: Identifier): Promise<AccountState> {
39
}))
40
.catch(error => {
41
if (error && error.response && error.response.status === 404) {
42
- const hardcoded = {
43
- hardBalance: 0,
44
- hardCounter: 0,
45
- hardDelegation: { '00000x': { parts: 1 } }
46
- };
47
- const balance: Balance = hardcoded.hardBalance;
48
- const counter: Counter = hardcoded.hardCounter;
49
- const delegation: Delegation = hardcoded.hardDelegation;
+ const balance: Balance = 0;
+ const counter: Counter = 0;
+ const delegation: Delegation = { '00000x': { parts: 1 } };
50
return {
51
balance,
52
counter,
0 commit comments