mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 11:31:08 +03:00
Fix for genesis outputs confirms count (#2271)
This commit is contained in:
parent
d9ff8e278e
commit
216924c677
1 changed files with 0 additions and 2 deletions
|
@ -288,8 +288,6 @@ impl OutputData {
|
||||||
}
|
}
|
||||||
if self.status == OutputStatus::Unconfirmed {
|
if self.status == OutputStatus::Unconfirmed {
|
||||||
0
|
0
|
||||||
} else if self.height == 0 {
|
|
||||||
0
|
|
||||||
} else {
|
} else {
|
||||||
// if an output has height n and we are at block n
|
// if an output has height n and we are at block n
|
||||||
// then we have a single confirmation (the block it originated in)
|
// then we have a single confirmation (the block it originated in)
|
||||||
|
|
Loading…
Reference in a new issue