{in,out}puts => tx{In,Out}puts

This commit is contained in:
Luke Childs 2020-04-26 18:07:09 +07:00
parent 6c616bff78
commit e7345d5446
4 changed files with 8 additions and 8 deletions
ts_src

View file

@ -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,