mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-26 13:41:33 +00:00
s/VerifyEventSignatures/VerifyAllEventSignatures/
gomatrixserverlib API has been updated
This commit is contained in:
parent
e2f88f3889
commit
58e228fc3a
@ -81,7 +81,7 @@ type txnReq struct {
|
|||||||
|
|
||||||
func (t *txnReq) processTransaction() (*gomatrixserverlib.RespSend, error) {
|
func (t *txnReq) processTransaction() (*gomatrixserverlib.RespSend, error) {
|
||||||
// Check the event signatures
|
// Check the event signatures
|
||||||
if err := gomatrixserverlib.VerifyEventSignatures(t.context, t.PDUs, t.keys); err != nil {
|
if err := gomatrixserverlib.VerifyAllEventSignatures(t.context, t.PDUs, t.keys); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user