fix: add integration test and fix various exposed bugs

This commit is contained in:
Tyera Eulberg
2019-12-26 15:23:17 -07:00
committed by Michael Vines
parent 07c0670f65
commit 3595892fab
6 changed files with 150 additions and 21 deletions

@@ -69,7 +69,11 @@ export const authorized = (property: string = 'authorized') => {
*/
export const lockup = (property: string = 'lockup') => {
return BufferLayout.struct(
[BufferLayout.ns64('epoch'), publicKey('custodian')],
[
BufferLayout.ns64('unixTimestamp'),
BufferLayout.ns64('epoch'),
publicKey('custodian'),
],
property,
);
};