Skip to content
Snippets Groups Projects

[Sprint/JollyJellyfish](feat): Added plus tiers to endpoint and passed through #578

Closed Ben requested to merge feat/plus-tiers-578 into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -46,8 +46,8 @@ class Plus
@@ -46,8 +46,8 @@ class Plus
return $wire; //not offchain or potential onchain fraud
return $wire; //not offchain or potential onchain fraud
}
}
// 20 tokens
// 20 tokens, 180 tokens, 500 tokens.
if ($wire->getAmount() != "20000000000000000000") {
if ($wire->getAmount() != "20000000000000000000" && $wire->getAmount() != "180000000000000000000" && $wire->getAmount() != "500000000000000000000") {
return $wire; //incorrect wire amount sent
return $wire; //incorrect wire amount sent
}
}
Loading