Add voucherdata call to test accountservices

This commit is contained in:
lash
2024-11-04 02:23:30 +00:00
parent 7189235bee
commit 2c30ccc405
3 changed files with 47 additions and 1 deletions

View File

@@ -46,3 +46,7 @@ func (tas *TestAccountService) FetchVouchers(ctx context.Context, publicKey stri
func (tas *TestAccountService) FetchTransactions(ctx context.Context, publicKey string) ([]dataserviceapi.Last10TxResponse, error) {
return []dataserviceapi.Last10TxResponse{}, nil
}
func(m TestAccountService) VoucherData(ctx context.Context, address string) (*models.VoucherDataResult, error) {
return &models.VoucherDataResult{}, nil
}