{in,out}puts => tx{In,Out}puts
This commit is contained in:
parent
6c616bff78
commit
e7345d5446
4 changed files with 8 additions and 8 deletions
ts_src
|
@ -145,7 +145,7 @@ export class Psbt {
|
|||
this.setLocktime(locktime);
|
||||
}
|
||||
|
||||
get inputs(): Input[] {
|
||||
get txInputs(): Input[] {
|
||||
return this.__CACHE.__TX.ins.map(input => ({
|
||||
hash: cloneBuffer(input.hash),
|
||||
index: input.index,
|
||||
|
@ -155,7 +155,7 @@ export class Psbt {
|
|||
}));
|
||||
}
|
||||
|
||||
get outputs(): Output[] {
|
||||
get txOutputs(): Output[] {
|
||||
return this.__CACHE.__TX.outs.map(output => ({
|
||||
script: cloneBuffer(output.script),
|
||||
value: output.value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue