Return 0 on Target::from_compact overflow
This commit fixes a bug in how rust-bitcoin converts Bitcoin 'compact' difficulty targets into full numeric Target values. Previously, if the compact value encoded a number too large to fit in a valid Target, the code would silently produc…
1fb9a651by Mitchell Bagot+7−31 file