shachain: remove unnecessary shachain_index_t
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 15 Aug 2017 04:24:07 +0000 (13:54 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 15 Aug 2017 04:24:07 +0000 (13:54 +0930)
commite6abb93d50ba9f1e90163d7db53be70b8ef81a96
tree6d831d8b2edcfcfb0484b8b5685127ab71032d8b
parent8ad6ab9ce9b78c6b28b727b11d571d11856479c6
shachain: remove unnecessary shachain_index_t

You can use SHACHAIN_BITS to contrain the size.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/crypto/shachain/shachain.c
ccan/crypto/shachain/shachain.h
ccan/crypto/shachain/test/run-8bit.c
ccan/crypto/shachain/test/run-can_derive.c