diff --git a/services/wallet/walletconnect/database.go b/services/wallet/walletconnect/database.go index 7094a70d4..8a3a9ed09 100644 --- a/services/wallet/walletconnect/database.go +++ b/services/wallet/walletconnect/database.go @@ -35,6 +35,9 @@ func ChangePairingState(db *sql.DB, topic Topic, active bool) error { } rowsAffected, err := res.RowsAffected() + if err != nil { + return err + } if rowsAffected == 0 { return errors.New("unable to locate pairing entry for DB state change") }