Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sCrypt-Inc/boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
msinkec committed Nov 18, 2023
2 parents 0c86ec3 + db28382 commit 223467d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/contracts/bsv20BuyLimitOrder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,6 @@ export class BSV20BuyLimitOrder extends BSV20V2 {
'oracle sig verify failed'
)

// Check that we're unlocking the UTXO specified in the oracles message.
assert(
slice(this.prevouts, 0n, 36n) == slice(oracleMsg, 0n, 36n),
'first input is not spending specified ordinal UTXO'
)

// Get token amount held by the UTXO from oracle message.
const utxoTokenAmt = byteString2Int(slice(oracleMsg, 36n, 44n))

Expand Down

0 comments on commit 223467d

Please sign in to comment.