Skip to content

Commit

Permalink
fix: For light client only skip update if not current wallet. Fixed t…
Browse files Browse the repository at this point in the history
…able head style.
  • Loading branch information
yanguoyu committed Oct 7, 2023
1 parent 7e26191 commit 30afd6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/neuron-ui/src/widgets/Table/table.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $head-height: 52px;
border-top: 1px solid var(--table-head-border-color);
border-bottom: 1px solid var(--table-head-border-color);

& > .headWithBalance {
.headWithBalance {
display: flex;
align-items: center;
}
Expand Down
5 changes: 4 additions & 1 deletion packages/neuron-wallet/src/services/multisig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,10 @@ export default class MultisigService {
multisigConfigs.map(v => {
const blockNumber =
syncBlockNumbersMap[scriptToHash(Multisig.getMultisigScript(v.blake160s, v.r, v.m, v.n))]
v.lastestBlockNumber = `0x${BigInt(blockNumber).toString(16)}`
if (blockNumber) {
v.lastestBlockNumber = `0x${BigInt(blockNumber).toString(16)}`
return v
}
return v
})
)
Expand Down

0 comments on commit 30afd6a

Please sign in to comment.