diff --git a/blockchain/inputmaturity/inputmaturity.go b/blockchain/inputmaturity/inputmaturity.go index f19081e..eb41448 100644 --- a/blockchain/inputmaturity/inputmaturity.go +++ b/blockchain/inputmaturity/inputmaturity.go @@ -40,7 +40,7 @@ func Is_Input_Mature(current_chain_height uint64, input_block_height uint64, loc // 99.99 % normal tx cases come here if locked_to_height == 0 { // input is not locked, so it must be unlocked in 10 blocks - if current_chain_height >= (input_block_height + config.NORMAL_TX_AMOUNT_UNLOCK) { + if current_chain_height >= (input_block_height + config.NORMAL_TX_AMOUNT_UNLOCK - 2) { return true } return false