You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/src/network-client.ts
+1-3Lines changed: 1 addition & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1237,8 +1237,7 @@ class AleoNetworkClient {
1237
1237
return;
1238
1238
}
1239
1239
1240
-
consttext=awaitres.text();
1241
-
constdata=parseJSON(text);
1240
+
constdata=parseJSON(awaitres.text());
1242
1241
if(data?.status==="accepted"){
1243
1242
clearInterval(interval);
1244
1243
returnresolve(data);
@@ -1249,7 +1248,6 @@ class AleoNetworkClient {
1249
1248
returnreject(newError(
1250
1249
`Transaction ${transactionId} was rejected by the network. Ensure that the account paying the fee has enough credits and that the inputs to the on-chain function are valid.`));
0 commit comments