cleanup: Make blockheights unsigned

Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
Christian Decker
2018-03-22 00:13:16 +01:00
committed by Rusty Russell
parent aba0b0e01b
commit ba7341ec87
5 changed files with 13 additions and 12 deletions

View File

@@ -28,10 +28,10 @@ struct utxo {
struct unilateral_close_info *close_info;
/* NULL if we haven't seen it in a block, otherwise the block it's in */
const int *blockheight;
const u32 *blockheight;
/* NULL if not spent yet, otherwise, the block the spending transaction is in */
const int *spendheight;
const u32 *spendheight;
};
void towire_utxo(u8 **pptr, const struct utxo *utxo);