logic error

This commit is contained in:
Florian Dold 2019-08-14 18:34:33 +02:00
parent bc5076b491
commit 11acb0c403
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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");
}