Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 14b6536

Browse files
committed
Cleanup initPayBitcoinConfirm
1 parent 76dbf23 commit 14b6536

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/action/payment.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,10 +199,10 @@ class PaymentAction {
199199
async initPayBitcoinConfirm() {
200200
try {
201201
const { payment, settings } = this._store;
202-
let addrToAmount = {};
203-
addrToAmount[payment.address] = toSatoshis(payment.amount, settings);
202+
const AddrToAmount = {};
203+
AddrToAmount[payment.address] = toSatoshis(payment.amount, settings);
204204
const { feeSat } = await this._grpc.sendCommand('estimateFee', {
205-
AddrToAmount: addrToAmount,
205+
AddrToAmount,
206206
});
207207
payment.fee = toAmount(feeSat, settings);
208208
this._nav.goPayBitcoinConfirm();

0 commit comments

Comments
 (0)