Skip to content

Commit fc89d99

Browse files
committed
update error handling
1 parent aa71315 commit fc89d99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/nftport/retrieveContract.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const retrieveContract = async () => {
2727
`${basePath}/build/contract/_contract.json`,
2828
JSON.stringify(response, null, 2)
2929
);
30-
if (response.response === "OK" && response.error === null) {
30+
if (response.response === "OK") {
3131
console.log(`Contract ${CONTRACT_NAME} deployed successfully`);
3232
} else {
3333
console.log(`Contract ${CONTRACT_NAME} deployment failed`);

0 commit comments

Comments
 (0)