adjust for counterpartyd API change