From 216924c67788e21825891414c9a114fa1df3adf6 Mon Sep 17 00:00:00 2001 From: Ignotus Peverell Date: Wed, 2 Jan 2019 12:11:02 -0800 Subject: [PATCH] Fix for genesis outputs confirms count (#2271) --- wallet/src/libwallet/types.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/wallet/src/libwallet/types.rs b/wallet/src/libwallet/types.rs index 431aeb661..2ffcacbce 100644 --- a/wallet/src/libwallet/types.rs +++ b/wallet/src/libwallet/types.rs @@ -288,8 +288,6 @@ impl OutputData { } if self.status == OutputStatus::Unconfirmed { 0 - } else if self.height == 0 { - 0 } else { // if an output has height n and we are at block n // then we have a single confirmation (the block it originated in)