Skip to content

Commit e833b1b

Browse files
asimm241zone117x
authored andcommitted
fix: add a return statement after setting the response
1 parent 991961c commit e833b1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api/routes/rosetta/construction.ts

+1
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ export function createRosettaConstructionRouter(db: DataStore): RouterWithAsync
198198
}
199199
} catch (e) {
200200
res.status(400).json(RosettaErrors.invalidPublicKey);
201+
return;
201202
}
202203
}
203204

0 commit comments

Comments
 (0)