Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
fix(scriptexplorer): change the error message for spending from new w…
Browse files Browse the repository at this point in the history
…allet

For a new wallet no UTXO's can be found. This results in an uninformative error message. The message
is now changed to having 0 balance.

ISSUES: #172
  • Loading branch information
Wim van der Ham authored and bucko13 committed Jun 12, 2023
1 parent 48a395e commit 1923dad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ScriptExplorer/ScriptEntry.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ class ScriptEntry extends React.Component {
} else {
this.setState({
fetchedUTXOs: false,
fetchUTXOsError: "Failed to fetch UTXOs.",
fetchUTXOsError: "This address has a zero balance.",
});
}
};
Expand Down

0 comments on commit 1923dad

Please sign in to comment.