Skip to content

Commit

Permalink
updates after review
Browse files Browse the repository at this point in the history
  • Loading branch information
CiprianDraghici committed Sep 7, 2023
1 parent e65920b commit e7c3361
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/apiCalls/transactions/sendSignedBatchTransactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ export async function sendSignedBatchTransactions({
const address = addressSelector(store.getState());
const { apiAddress, apiTimeout } = networkSelector(store.getState());

if (!address) {
return {
error:
'Invalid address provided. You need to be logged in to send transactions',
batchId: null
};
}

try {
const batchId = buildBatchId({
sessionId,
Expand Down

0 comments on commit e7c3361

Please sign in to comment.