Skip to content

Commit

Permalink
Update Staking UI (hacky)
Browse files Browse the repository at this point in the history
Omitted proper request types and parsing.
  • Loading branch information
sisou committed Nov 19, 2024
1 parent 5d0f5a8 commit 5f82223
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/RequestParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ export class RequestParser {
}

return {
...request, // Pass-through all other properties
kind: requestType,
appName: signStakingRequest.appName,
senderLabel: signStakingRequest.senderLabel,
Expand Down Expand Up @@ -772,6 +773,7 @@ export class RequestParser {
// const transaction = Nimiq.Transaction.fromPlain(signStakingRequest.transaction);

return {
...request, // Pass-through all other properties
appName: signStakingRequest.appName,
senderLabel: signStakingRequest.senderLabel,
recipientLabel: signStakingRequest.recipientLabel,
Expand Down
2 changes: 2 additions & 0 deletions src/views/SignStaking.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ export default class SignStaking extends Vue {
}
const request: KeyguardClient.SignStakingRequest = {
...this.request, // Pass-through all request parameters
appName: this.request.appName,
keyId,
Expand Down

0 comments on commit 5f82223

Please sign in to comment.