Skip to content

Commit c8694e9

Browse files
author
nathanielCherian
committed
fix audit issues
1 parent 446ce80 commit c8694e9

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

examples/next.cash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ pragma cashscript ^0.7.0;
33
contract P2PKH() {
44
function spend() {
55
bytes2 left, bytes2 right = 0x123456.split(2);
6+
int constant c = 5;
67
require(left == right);
78
require(c*2 == 2);
89
require(tx.outputs[0].value == tx.inputs[this.activeInputIndex].value - 10*10);

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)