Skip to content

Commit d31b52f

Browse files
authored
fix: remove lock time verification (#24)
1 parent bb1e2a5 commit d31b52f

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

contracts/satoshi-bridge/src/api/bridge.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ impl Contract {
3737
.expect("Deserialization tx_bytes failed");
3838
let deposit_amount = u128::from(transaction.output()[vout].value.to_sat());
3939
require!(deposit_amount > 0, "Invalid deposit_amount");
40-
require!(
41-
transaction.lock_time() == LockTime::ZERO,
42-
"Tx with a non-zero lock_time are not supported."
43-
);
4440
let deposit_address = self.generate_utxo_chain_address(&path);
4541
let deposit_address_script_pubkey = deposit_address
4642
.script_pubkey()

0 commit comments

Comments
 (0)