Skip to content

Commit

Permalink
fixes opcode
Browse files Browse the repository at this point in the history
  • Loading branch information
wbendick authored and hoffmang9 committed Feb 4, 2021
1 parent e5f3a49 commit a6ee4f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wallet/puzzles/rl.clvm
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
0))

(defun create-lock (consolidating_primary_input consolidating_coin_puzzle_hash outgoing_amount)
(list opcode_create
(list CREATE_COIN
(sha256tree (list r (list c (list q (sha256 consolidating_primary_input
consolidating_coin_puzzle_hash
outgoing_amount))
Expand All @@ -64,7 +64,7 @@
(or (> a b)
(= a b)))

(defun generate-block-age-condition (min_block_time outgoing_amount)
(defun generate-block-age-condition (min_block_time outgoing_amount)
(assert (>= (* min_block_time rate_amount)
(* outgoing_amount interval_time))
(list ASSERT_BLOCK_AGE_EXCEEDS min_block_time)))
Expand Down

0 comments on commit a6ee4f9

Please sign in to comment.