Skip to content

Commit

Permalink
Merge pull request #986 from nervosnetwork/add-lock-to-input-to-inter…
Browse files Browse the repository at this point in the history
…face

chore: add lock to input toInterface
  • Loading branch information
Keith-CY authored Oct 15, 2019
2 parents 5b82943 + 58fab61 commit 3d1ef6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export default class Input extends BaseEntity {
previousOutput: this.previousOutput(),
capacity: this.capacity,
lockHash: this.lockHash,
lock: this.lock,
}
}
}
2 changes: 1 addition & 1 deletion packages/neuron-wallet/src/types/cell-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export interface Input {
since?: string
capacity?: string | null
lockHash?: string | null
lock?: Script
lock?: Script | null
}

export interface Cell {
Expand Down

0 comments on commit 3d1ef6f

Please sign in to comment.