Skip to content

Commit

Permalink
Merge pull request #336 from HathorNetwork/dev
Browse files Browse the repository at this point in the history
Release: v0.20.5
  • Loading branch information
luislhl authored Oct 17, 2024
2 parents 8a6d1fa + 84d247f commit d3096a5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hathor-admin",
"version": "0.20.4",
"version": "0.20.5",
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
Expand Down
1 change: 1 addition & 0 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ case $site in
FULLNODE_HOST=node.explorer.hathor.network
REACT_APP_BASE_URL=https://$FULLNODE_HOST/v1a/
REACT_APP_WS_URL=wss://$FULLNODE_HOST/v1a/ws/
REACT_APP_GTM_ID=GTM-MJVX6BG
REACT_APP_EXPLORER_SERVICE_BASE_URL=https://explorer-service.mainnet.hathor.network/
REACT_APP_TIMESERIES_DASHBOARD_ID=674ebc10-e8c4-11ec-a7f2-0fee9be0d8ee
REACT_APP_NETWORK=mainnet
Expand Down
2 changes: 1 addition & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const TESTNET_GENESIS_TX = [
'00975897028ceb037307327c953f5e7ad4d3f42402d71bd3d11ecb63ac39f01a',
];

export const VERSION = '0.20.4';
export const VERSION = '0.20.5';

export const MIN_API_VERSION = '0.33.0';

Expand Down
3 changes: 2 additions & 1 deletion src/screens/DecodeTx.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,15 @@ function DecodeTx() {
const buttonClicked = async () => {
try {
const data = await txApi.decodeTx(dataToDecode);
setSuccess(data.success);
if (!data.success) {
setTransaction(null);
setConfirmationData(null);
setMeta(null);
setSpentOutputs(null);
setSuccess(false);
return;
}
setSuccess(true);
setTransaction(data.tx);
setMeta(data.meta);
setSpentOutputs(data.spent_outputs);
Expand Down

0 comments on commit d3096a5

Please sign in to comment.