Skip to content

Commit

Permalink
Merge branch 'fix_auction' into dev
Browse files Browse the repository at this point in the history
# Conflicts:
#	go.mod
#	go.sum
  • Loading branch information
scorpiotzh committed Apr 13, 2024
2 parents 80f49a8 + 606f2de commit 8fe62ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions http_server/handle/transaction_send.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (h *HttpHandle) doTransactionSend(req *ReqTransactionSend, apiResp *api_cod

hasWebAuthn := false
for _, v := range req.SignList {
if v.SignType == common.DasAlgorithmIdWebauthn {
if v.SignType == common.DasAlgorithmIdWebauthn && v.SignMsg != "" {
hasWebAuthn = true
break
}
Expand Down Expand Up @@ -127,7 +127,7 @@ func (h *HttpHandle) doTransactionSend(req *ReqTransactionSend, apiResp *api_cod
}

for i, v := range req.SignList {
if v.SignType == common.DasAlgorithmIdWebauthn {
if v.SignType == common.DasAlgorithmIdWebauthn && v.SignMsg != "" {
h.dasCore.AddPkIndexForSignMsg(&req.SignList[i].SignMsg, idx)
}
}
Expand Down

0 comments on commit 8fe62ca

Please sign in to comment.