refactor: use a more straightforward return value

Signed-off-by: fuyangpengqi <995764973@qq.com>
This commit is contained in:
fuyangpengqi
2025-02-28 17:09:56 +08:00
parent 8532955b35
commit 150f72414a
6 changed files with 7 additions and 7 deletions

View File

@@ -738,7 +738,7 @@ func serializeNewResult(rp *paymentResultNew) ([]byte, []byte, error) {
return nil, nil, err
}
return key, buff.Bytes(), err
return key, buff.Bytes(), nil
}
// getResultKeyNew returns a byte slice representing a unique key for this