one day coinbase maturity (#1457)
* one day coinbase maturity * make one day maturity a soft fork
This commit is contained in:
committed by
Antioch Peverell
parent
63880f71c7
commit
c359c8aaf2
@@ -98,7 +98,7 @@ fn test_coinbase_maturity() {
|
||||
|
||||
let amount = consensus::REWARD;
|
||||
|
||||
let lock_height = 1 + global::coinbase_maturity();
|
||||
let lock_height = 1 + global::coinbase_maturity(1);
|
||||
assert_eq!(lock_height, 4);
|
||||
|
||||
// here we build a tx that attempts to spend the earlier coinbase output
|
||||
|
||||
Reference in New Issue
Block a user