We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b417e84 + b1159d7 commit e1d3959Copy full SHA for e1d3959
packages/bitcore-wallet-service/src/lib/chain/btc/index.ts
@@ -215,7 +215,8 @@ export class BtcChain implements IChain {
215
216
switch (txp.addressType) {
217
case Constants.SCRIPT_TYPES.P2PKH:
218
- return 147 + inputSafetyMargin;
+ // https://bitcoin.stackexchange.com/questions/48279/how-big-is-the-input-of-a-p2pkh-transaction
219
+ return 148 + inputSafetyMargin;
220
221
case Constants.SCRIPT_TYPES.P2WPKH:
222
return 69 + inputSafetyMargin; // vsize
0 commit comments