logic error
This commit is contained in:
parent
bc5076b491
commit
11acb0c403
@ -342,7 +342,7 @@ async function main() {
|
||||
|
||||
console.log("payment status after wallet payment:", paymentStatus2);
|
||||
|
||||
if (!paymentStatus.paid) {
|
||||
if (!paymentStatus2.paid) {
|
||||
throw Error("payment did not succeed");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user