mirror of
https://github.com/mimblewimble/grin.git
synced 2025-03-07 01:21:08 +03:00
Any size pow accesible to tests.
This commit is contained in:
parent
08f2f38098
commit
11b8a6222a
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ pub fn pow20(b: &Block, target: Target) -> Result<(Proof, u64), Error> {
|
||||||
pow_size(b, target, 20)
|
pow_size(b, target, 20)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn pow_size(b: &Block, target: Target, sizeshift: u32) -> Result<(Proof, u64), Error> {
|
pub fn pow_size(b: &Block, target: Target, sizeshift: u32) -> Result<(Proof, u64), Error> {
|
||||||
let mut pow_header = PowHeader::from_block(b);
|
let mut pow_header = PowHeader::from_block(b);
|
||||||
let start_nonce = pow_header.nonce;
|
let start_nonce = pow_header.nonce;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue