Skip to content

Commit

Permalink
Improve address bar of wallet
Browse files Browse the repository at this point in the history
  • Loading branch information
KaffinPX committed Apr 12, 2024
1 parent 3648d6b commit a7e4956
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/pages/Wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ export default function Wallet () {
</div>
<div className={"flex flex-col items-center"}>
<Textarea
readOnly={true}
defaultValue={kaspa.address}
className={"w-72 resize-none"}
disabled={true}
/>
</div>
</div>
Expand Down
5 changes: 1 addition & 4 deletions src/wallet/kaspa/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,7 @@ export default class Account extends EventEmitter {
})

this.processor.addEventListener('pending', (event) => {
// @ts-ignore
const record = event.data.record as ITransactionRecord

console.log(record.data.data.utxoEntries.filter)
console.log(event)
})

this.processor.addEventListener('balance', () => {
Expand Down

0 comments on commit a7e4956

Please sign in to comment.