Skip to content

Commit 8666711

Browse files
committed
fix: signTxList bug.
1 parent f30b151 commit 8666711

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/signers/BitSigner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export abstract class BitSigner {
6363

6464
async signTxList (txs: SignTxListParams): Promise<SignTxListRes> {
6565
for (const signItem of txs.sign_list) {
66-
if (signItem.sign_type === SIGN_TYPE.noSign) {
66+
if (signItem.sign_msg === '' || signItem.sign_type === SIGN_TYPE.noSign) {
6767
continue
6868
}
6969
if (signItem.sign_type === SIGN_TYPE.eth712 && !!txs.mm_json) {

0 commit comments

Comments
 (0)