Skip to content

Commit 8741c5d

Browse files
committed
Remove statusList from sendGenericChunk (let it default to status.OK)
1 parent 65e429a commit 8741c5d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/app.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,7 @@ export default class BaseApp {
124124
payloadType = PAYLOAD_TYPE.LAST
125125
}
126126

127-
const statusList = [LedgerError.NoErrors, LedgerError.DataIsInvalid, LedgerError.BadKeyHandle]
128-
129-
const responseBuffer = await this.transport.send(this.CLA, ins, payloadType, p2, chunk, statusList)
127+
const responseBuffer = await this.transport.send(this.CLA, ins, payloadType, p2, chunk)
130128
const response = processResponse(responseBuffer, this.CUSTOM_APP_ERROR_DESCRIPTION)
131129

132130
return response

0 commit comments

Comments
 (0)